public class FileInputSource extends DirectoryInputSource
| Constructor and Description |
|---|
FileInputSource(File file,
boolean inSourcePath) |
FileInputSource(File file,
boolean inSourcePath,
boolean inCompilePath) |
FileInputSource(File sourceDir,
File file,
boolean inSourcePath,
boolean inCompilePath,
String extNamespace) |
FileInputSource(File sourceDir,
File file,
boolean inSourcePath,
String extNamespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object o) |
FileInputSource |
getChild(String path) |
List<InputSource> |
getChildren(String path) |
File |
getFile() |
char |
getFileSeparatorChar() |
InputStream |
getInputStream() |
String |
getName()
The file name, i.e.
|
InputSource |
getParent() |
String |
getPath() |
String |
getRelativePath() |
File |
getSourceDir() |
int |
hashCode() |
boolean |
isDirectory() |
List<InputSource> |
list() |
String |
toString() |
getExtNamespace, isInCompilePath, isInSourcePathpublic FileInputSource(File sourceDir, File file, boolean inSourcePath, boolean inCompilePath, String extNamespace)
public FileInputSource(File file, boolean inSourcePath, boolean inCompilePath)
public FileInputSource(File sourceDir, File file, boolean inSourcePath, String extNamespace)
public FileInputSource(File file, boolean inSourcePath)
public String getName()
InputSourcepublic String getPath()
public InputStream getInputStream() throws IOException
getInputStream in interface InputSourcegetInputStream in class DirectoryInputSourceIOExceptionpublic String getRelativePath()
public void close()
close in interface InputSourceclose in class DirectoryInputSourcepublic File getFile()
public File getSourceDir()
public char getFileSeparatorChar()
public InputSource getParent()
getParent in interface InputSourcegetParent in class DirectoryInputSourcepublic boolean isDirectory()
isDirectory in interface InputSourceisDirectory in class DirectoryInputSourcepublic List<InputSource> list()
public FileInputSource getChild(String path)
public List<InputSource> getChildren(String path)
Copyright © 2002–2021 CoreMedia AG. All rights reserved.