|
Knopflerfish OSGi 5.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Resource
A resource that is to be indexed.
| Field Summary | |
|---|---|
static java.lang.String |
LAST_MODIFIED
the name of the lastmodified attribute |
static java.lang.String |
LOCATION
the name of the location attribute |
static java.lang.String |
NAME
the name of the name attribute |
static java.lang.String |
SIZE
the name of the size attribute |
| Method Summary | |
|---|---|
void |
close()
Close the resource |
Resource |
getChild(java.lang.String path)
|
java.lang.String |
getLocation()
|
java.util.jar.Manifest |
getManifest()
|
java.util.Dictionary<java.lang.String,java.lang.Object> |
getProperties()
|
long |
getSize()
|
java.io.InputStream |
getStream()
|
java.util.List<java.lang.String> |
listChildren(java.lang.String prefix)
|
| Field Detail |
|---|
static final java.lang.String NAME
static final java.lang.String LOCATION
static final java.lang.String SIZE
static final java.lang.String LAST_MODIFIED
| Method Detail |
|---|
java.lang.String getLocation()
java.util.Dictionary<java.lang.String,java.lang.Object> getProperties()
long getSize()
java.io.InputStream getStream()
throws java.io.IOException
java.io.IOException - when an I/O error occurred
java.util.jar.Manifest getManifest()
throws java.io.IOException
java.io.IOException - when an I/O error occurred
java.util.List<java.lang.String> listChildren(java.lang.String prefix)
throws java.io.IOException
prefix - the prefix of the children that must be returned (typically
the directory in the JAR)
java.io.IOException - when an I/O error occurred
Resource getChild(java.lang.String path)
throws java.io.IOException
path - the path of the child (typically the path in the JAR)
java.io.IOException - when an I/O error occurredvoid close()
|
Knopflerfish OSGi 5.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||