net.jangaroo.jooc.input
Interface InputSource

All Known Implementing Classes:
DirectoryInputSource, FileInputSource, PathInputSource, ZipEntryInputSource, ZipFileInputSource

public interface InputSource


Method Summary
 void close()
           
 InputSource getChild(String path)
           
 char getFileSeparatorChar()
           
 InputStream getInputStream()
           
 String getName()
          The file name, i.e. test.as
 InputSource getParent()
           
 String getPath()
           
 String getRelativePath()
           
 boolean isDirectory()
           
 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()

isDirectory

boolean isDirectory()

list

List<? extends InputSource> list()

getChild

InputSource getChild(String path)

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

close

void close()
           throws IOException
Throws:
IOException

getFileSeparatorChar

char getFileSeparatorChar()

getParent

InputSource getParent()


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