com.levigo.jadice.appbase
Class FileOpener.SimpleReadStrategy
java.lang.Object
com.levigo.jadice.appbase.FileOpener.SimpleReadStrategy
- All Implemented Interfaces:
- ReadStrategy
- Enclosing class:
- FileOpener
protected final class FileOpener.SimpleReadStrategy
- extends Object
- implements ReadStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileOpener.SimpleReadStrategy
protected FileOpener.SimpleReadStrategy()
read
public Document read(File file)
- Description copied from interface:
ReadStrategy
- Construct and load a document for the given
File
instance.
- Specified by:
read
in interface ReadStrategy
- Parameters:
file
- the File
for which a preview shall be loaded.
- Returns:
- either a
Document
instance or null
if the ReadStrategy
chooses to ignore the given File
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.