Package net.jangaroo.jooc.input
Interface InputSource
-
- All Known Implementing Classes:
DirectoryInputSource,FileInputSource,PathInputSource,ZipEntryInputSource,ZipFileInputSource
public interface InputSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()InputSourcegetChild(String path)List<InputSource>getChildren(String path)StringgetExtNamespace()chargetFileSeparatorChar()InputStreamgetInputStream()StringgetName()The file name, i.e.InputSourcegetParent()StringgetPath()StringgetRelativePath()booleanisDirectory()booleanisInCompilePath()booleanisInSourcePath()List<? extends InputSource>list()
-
-
-
Method Detail
-
getName
String getName()
The file name, i.e. test.as- Returns:
- the file name
-
getPath
String getPath()
-
getRelativePath
String getRelativePath()
-
getExtNamespace
String getExtNamespace()
-
isDirectory
boolean isDirectory()
-
list
List<? extends InputSource> list()
-
getChild
InputSource getChild(String path)
-
getChildren
List<InputSource> getChildren(String path)
-
getInputStream
InputStream getInputStream() throws IOException
- Throws:
IOException
-
close
void close() throws IOException- Throws:
IOException
-
getFileSeparatorChar
char getFileSeparatorChar()
-
getParent
InputSource getParent()
-
isInSourcePath
boolean isInSourcePath()
-
isInCompilePath
boolean isInCompilePath()
-
-