Package org.xwiki.filter.input
Class DirectoryInputSource
- java.lang.Object
-
- org.xwiki.filter.input.DirectoryInputSource
-
- All Implemented Interfaces:
Closeable,AutoCloseable,FileInputSource,InputSource
public class DirectoryInputSource extends Object implements FileInputSource
- Since:
- 6.2M1
- Version:
- $Id: 66ed7cb5c02d8f068194cd70bc6097778d021bb1 $
-
-
Constructor Summary
Constructors Constructor Description DirectoryInputSource(File file)
-
-
-
Constructor Detail
-
DirectoryInputSource
public DirectoryInputSource(File file)
-
-
Method Detail
-
restartSupported
public boolean restartSupported()
- Specified by:
restartSupportedin interfaceInputSource- Returns:
- true if it's possible to close and reset the source to its beginning
-
getFile
public File getFile()
- Specified by:
getFilein interfaceFileInputSource
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-