public class DefaultFileResource extends Object implements com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource
Files.| Constructor and Description |
|---|
DefaultFileResource(File file)
Constructs a new object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
createStream() |
boolean |
equals(Object obj) |
File |
getFile() |
int |
hashCode() |
public DefaultFileResource(File file)
file - the filepublic void close()
throws IOException
close in interface com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.Resourceclose in interface AutoCloseableIOExceptionpublic InputStream createStream() throws IOException
createStream in interface com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResourceIOExceptionpublic File getFile() throws IOException
getFile in interface com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResourceIOExceptionCopyright © 2015 buschmais GbR. All rights reserved.