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)
           
 
Method Summary
static PathInputSource fromFiles(List<File> files, String[] rootDirs)
           
 InputSource getChild(String path)
           
 char getFileSeparatorChar()
           
 String getName()
          The file name, i.e.
 String getPath()
           
 String getRelativePath()
           
 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)
Method Detail

fromFiles

public static PathInputSource fromFiles(List<File> files,
                                        String[] rootDirs)
                                 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()

list

public List<InputSource> list()

getChild

public InputSource getChild(String path)

getFileSeparatorChar

public char getFileSeparatorChar()


Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.