public class FileSource extends Object implements Source
| Constructor and Description |
|---|
FileSource(File file) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Source> |
getChildren() |
String |
getExternalPath() |
File |
getFile() |
String |
getInternalPath() |
String |
getName() |
boolean |
isFolder() |
boolean |
isStream() |
InputStream |
openStream() |
String |
toString() |
public FileSource(File file)
public File getFile()
public String getExternalPath()
getExternalPath in interface Sourcepublic String getInternalPath()
getInternalPath in interface Sourcepublic Iterable<Source> getChildren()
getChildren in interface Sourcepublic InputStream openStream() throws IOException
openStream in interface SourceIOExceptionCopyright © 2022 vpc open source initiative. All rights reserved.