net.jangaroo.jooc.input
Class PathInputSource

java.lang.Object
  extended by net.jangaroo.jooc.input.DirectoryInputSource
      extended by net.jangaroo.jooc.input.PathInputSource
All Implemented Interfaces:
InputSource

public class PathInputSource
extends DirectoryInputSource


Constructor Summary
PathInputSource(String name, List<InputSource> entries, boolean inSourcePath)
           
 
Method Summary
static PathInputSource fromFiles(List<File> files, String[] rootDirs, boolean inSourcePath)
           
 InputSource getChild(String path)
           
 char getFileSeparatorChar()
           
 String getName()
          The file name, i.e. test.as
 String getPath()
           
 String getRelativePath()
           
 boolean isInSourcePath()
           
 List<InputSource> list()
           
 
Methods inherited from class net.jangaroo.jooc.input.DirectoryInputSource
close, getInputStream, getParent, isDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathInputSource

public PathInputSource(String name,
                       List<InputSource> entries,
                       boolean inSourcePath)
Method Detail

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.