net.jangaroo.jooc.input
Class ZipEntryInputSource

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

public class ZipEntryInputSource
extends java.lang.Object
implements InputSource


Constructor Summary
ZipEntryInputSource(ZipFileInputSource zipFileInputSource, java.util.zip.ZipEntry zipEntry, java.lang.String relativePath)
           
 
Method Summary
 void close()
           
 InputSource getChild(java.lang.String path)
           
 char getFileSeparatorChar()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 InputSource getParent()
           
 java.lang.String getPath()
           
 java.lang.String getRelativePath()
           
 boolean isDirectory()
           
 java.util.List<InputSource> list()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZipEntryInputSource

public ZipEntryInputSource(ZipFileInputSource zipFileInputSource,
                           java.util.zip.ZipEntry zipEntry,
                           java.lang.String relativePath)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface InputSource

getPath

public java.lang.String getPath()
Specified by:
getPath in interface InputSource

getParent

public InputSource getParent()
Specified by:
getParent in interface InputSource

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface InputSource
Throws:
java.io.IOException

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface InputSource

list

public java.util.List<InputSource> list()
Specified by:
list in interface InputSource

getChild

public InputSource getChild(java.lang.String path)
Specified by:
getChild in interface InputSource

getRelativePath

public java.lang.String getRelativePath()
Specified by:
getRelativePath in interface InputSource

close

public void close()
           throws java.io.IOException
Specified by:
close in interface InputSource
Throws:
java.io.IOException

getFileSeparatorChar

public char getFileSeparatorChar()
Specified by:
getFileSeparatorChar in interface InputSource


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