public class PathInputSource extends DirectoryInputSource
| Constructor and Description |
|---|
PathInputSource(String name,
List<InputSource> entries,
boolean inSourcePath) |
| Modifier and Type | Method and Description |
|---|---|
static PathInputSource |
fromFiles(List<File> files,
String[] rootDirs,
boolean inSourcePath) |
InputSource |
getChild(String path) |
char |
getFileSeparatorChar() |
String |
getName()
The file name, i.e.
|
String |
getPath() |
String |
getRelativePath() |
boolean |
isInSourcePath() |
List<InputSource> |
list() |
close, getInputStream, getParent, isDirectorypublic 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 boolean isInSourcePath()
public List<InputSource> list()
public InputSource getChild(String path)
public char getFileSeparatorChar()
Copyright © 2002–2015 CoreMedia AG. All rights reserved.