public interface IInputWorkingDirectory
Interface of generalized input working directory.
Modifier and Type | Method and Description |
---|---|
void |
close()
Disposes the directory.
|
InputStream |
getFile(String fileName,
String[] fullName,
boolean searchSubdirectories)
Returns the stream to read from.
|
InputStream getFile(String fileName, String[] fullName, boolean searchSubdirectories) throws IOException
Returns the stream to read from.
fileName
- The file name.fullName
- The full file name.searchSubdirectories
- Indicates whether to look for a file in subdirectories.IOException
- when the file can't be retrieved.void close() throws IOException
Disposes the directory.
IOException
- when closing attempt fails.