net.jangaroo.jooc.input
Class PathInputSource
java.lang.Object
net.jangaroo.jooc.input.DirectoryInputSource
net.jangaroo.jooc.input.PathInputSource
- All Implemented Interfaces:
- InputSource
public class PathInputSource
- extends DirectoryInputSource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathInputSource
public PathInputSource(String name,
List<InputSource> entries,
boolean inSourcePath)
fromFiles
public static PathInputSource fromFiles(List<File> files,
String[] rootDirs,
boolean inSourcePath)
throws IOException
- Throws:
IOException
getName
public String getName()
- Description copied from interface:
InputSource
- The file name, i.e. test.as
- Returns:
- the file name
getPath
public String getPath()
getRelativePath
public String getRelativePath()
isInSourcePath
public boolean isInSourcePath()
list
public List<InputSource> list()
getChild
public InputSource getChild(String path)
getFileSeparatorChar
public char getFileSeparatorChar()
Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.