Modifier and Type | Field and Description |
---|---|
private File |
file
The represented file from the file system.
|
Constructor and Description |
---|
FsDataFile(File file) |
Modifier and Type | Method and Description |
---|---|
File |
getFile()
The represented file from the file system.
|
DataFolder |
getFolder()
The folder that contains this file.
|
String |
getName()
The name of this file.
|
InputStream |
open()
Opens this file for input.
|
private final File file
@ConstructorProperties(value="file") @Generated(value="lombok") public FsDataFile(File file)
public DataFolder getFolder()
DataFile
public InputStream open() throws IOException
DataFile
open
in interface DataFile
IOException
- if the file is not accessible@Generated(value="lombok") public File getFile()
Copyright © 2022 fastnate.org. All rights reserved.