public interface GenericFile
File
requiring special methods for
finding child instances and to return InputStream
providing file's content.Modifier and Type | Method and Description |
---|---|
java.io.File |
getChild(java.lang.String name)
Returns child instance with the provided name.
|
java.io.InputStream |
getInputStream()
Returns input stream of this file content.
|
java.io.File getChild(java.lang.String name)
name
- name of the child instancejava.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- if problem happens to open input stream