public class PathInputSource extends DirectoryInputSource
| Constructor and Description |
|---|
PathInputSource(String name,
List<InputSource> entries,
boolean inSourcePath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PathInputSource |
fromFiles(List<File> files,
String[] rootDirs,
boolean inSourcePath) |
InputSource |
getChild(String path) |
List<InputSource> |
getChildren(String path) |
char |
getFileSeparatorChar() |
String |
getName()
The file name, i.e.
|
String |
getPath() |
String |
getRelativePath() |
int |
hashCode() |
List<InputSource> |
list() |
String |
toString() |
close, getInputStream, getParent, isDirectory, isInSourcePathpublic PathInputSource(String name, List<InputSource> entries, boolean inSourcePath)
public static PathInputSource fromFiles(List<File> files, String[] rootDirs, boolean inSourcePath) throws IOException
IOExceptionpublic String getName()
InputSourcepublic String getPath()
public String getRelativePath()
public List<InputSource> list()
public InputSource getChild(String path)
public List<InputSource> getChildren(String path)
public char getFileSeparatorChar()
Copyright © 2002–2019 CoreMedia AG. All rights reserved.