public class DefaultFileResource extends Object implements com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource
File
s.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.Resource
close
in interface AutoCloseable
IOException
public InputStream createStream() throws IOException
createStream
in interface com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource
IOException
public File getFile() throws IOException
getFile
in interface com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource
IOException
Copyright © 2016 buschmais GbR. All rights reserved.