com.levigo.jadice.appbase
Class FileOpener.SimpleReadStrategy

java.lang.Object
  extended by com.levigo.jadice.appbase.FileOpener.SimpleReadStrategy
All Implemented Interfaces:
ReadStrategy
Enclosing class:
FileOpener

protected final class FileOpener.SimpleReadStrategy
extends Object
implements ReadStrategy


Constructor Summary
protected FileOpener.SimpleReadStrategy()
           
 
Method Summary
 Document read(File file)
          Construct and load a document for the given File instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileOpener.SimpleReadStrategy

protected FileOpener.SimpleReadStrategy()
Method Detail

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.