|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.update.core.ContentReference
org.eclipse.update.core.JarEntryContentReference
public class JarEntryContentReference
.jar file entry content reference.
This class may be instantiated or subclassed by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
ContentReference,
JarContentReference| Field Summary |
|---|
| Fields inherited from class org.eclipse.update.core.ContentReference |
|---|
DEFAULT_EXECUTABLE_PERMISSION, UNKNOWN_SIZE |
| Constructor Summary | |
|---|---|
JarEntryContentReference(java.lang.String id,
JarContentReference jarContentReference,
java.util.jar.JarEntry entry)
Deprecated. Create jar entry content reference. |
|
| Method Summary | |
|---|---|
java.net.URL |
asURL()
Deprecated. Returns the content reference as a URL. |
long |
getInputSize()
Deprecated. Returns the size of the referenced entry. |
java.io.InputStream |
getInputStream()
Deprecated. Creates an input stream for the reference. |
boolean |
isLocalReference()
Deprecated. Indicates whether the reference is to a an entry within a local jar. |
java.lang.String |
toString()
Deprecated. Return string representation of this reference. |
| Methods inherited from class org.eclipse.update.core.ContentReference |
|---|
asFile, createContentReference, getIdentifier, getLastModified, getPermission, setLastModified, setPermission, setTempLocal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JarEntryContentReference(java.lang.String id,
JarContentReference jarContentReference,
java.util.jar.JarEntry entry)
id - "symbolic" path identifierjarContentReference - jar file content referenceentry - jar entry| Method Detail |
|---|
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class ContentReferencejava.io.IOException - unable to create streampublic long getInputSize()
getInputSize in class ContentReferencepublic boolean isLocalReference()
isLocalReference in class ContentReferencetrue if the reference is local,
otherwise false
public java.net.URL asURL()
throws java.io.IOException
asURL in class ContentReferencejava.io.IOException - reference cannot be returned as URLpublic java.lang.String toString()
toString in class ContentReference
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.