| Modifier and Type | Field and Description |
|---|---|
private org.reflections.vfs.Vfs.File |
file
The file that is wrapped by this DataFile.
|
private VfsDataFolder |
parent
The parent directory.
|
| Constructor and Description |
|---|
VfsDataFile(VfsDataFolder parent,
org.reflections.vfs.Vfs.File file) |
| Modifier and Type | Method and Description |
|---|---|
DataFolder |
getFolder()
The folder that contains this file.
|
String |
getName()
The name of this file.
|
InputStream |
open()
Opens this file for input.
|
private final VfsDataFolder parent
private final org.reflections.vfs.Vfs.File file
@ConstructorProperties(value={"parent","file"}) @Generated(value="lombok") public VfsDataFile(VfsDataFolder parent, org.reflections.vfs.Vfs.File file)
public DataFolder getFolder()
DataFilepublic InputStream open() throws IOException
DataFileopen in interface DataFileIOException - if the file is not accessibleCopyright © 2022 fastnate.org. All rights reserved.