|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.net.JarIndex
This is a data structure used to cache entry names that are read from a jar/zip table of contents.
Method Summary | |
int |
dirEntryIndex(java.lang.String entryName)
|
int |
entryIndex(java.lang.String entryName)
|
byte[] |
getBytes(java.lang.String entryName)
Returns a byte array with the uncompressed data corresponding to entryName . |
java.lang.String[] |
getEntries()
Fetch a list of all entry names. |
JarIndexEntry |
getEntryAt(int i)
|
java.lang.String |
getEntryNameAt(int i)
|
int |
getNumEntries()
Returns the number of entries in the index. |
int |
getSize(java.lang.String entryName)
Returns the uncompressed size of the specified entry. |
long |
getTimestamp()
|
long |
getTimestamp(int index)
|
java.lang.String[] |
list(java.lang.String dirEntryName)
|
java.io.InputStream |
openInputStream(java.lang.String entryName)
Opens an input stream for the specified entryName . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int dirEntryIndex(java.lang.String entryName)
public int entryIndex(java.lang.String entryName)
public int getNumEntries()
public JarIndexEntry getEntryAt(int i)
java.lang.IndexOutOfBoundsException
- if the specified index is
less than 0 or greater than or equal to the number of indexed
entries.public java.lang.String getEntryNameAt(int i)
public java.lang.String[] getEntries()
public int getSize(java.lang.String entryName)
public java.lang.String[] list(java.lang.String dirEntryName)
public java.io.InputStream openInputStream(java.lang.String entryName) throws java.io.IOException
entryName
.
The input stream will contain uncompressed data.
java.io.IOException
public byte[] getBytes(java.lang.String entryName) throws java.io.IOException
entryName
.
java.io.IOException
public long getTimestamp(int index)
public long getTimestamp()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.