org.eclipse.update.core
Class JarEntryContentReference
java.lang.Object
org.eclipse.update.core.ContentReference
org.eclipse.update.core.JarEntryContentReference
Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This
provisional API was never promoted to stable API, and may be removed from a future release of the platform.
-
public class JarEntryContentReference
- extends
ContentReference
.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.
-
Since:
- 2.0
-
See Also:
-
ContentReference
,
JarContentReference
Method Summary
|
URL
|
asURL
()
Deprecated. Returns the content reference as a URL. |
long
|
getInputSize
()
Deprecated. Returns the size of the referenced entry. |
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. |
String
|
toString
()
Deprecated. Return string representation of this reference. |
JarEntryContentReference
public JarEntryContentReference(
String id,
JarContentReference jarContentReference,
JarEntry entry)
-
Deprecated.
- Create jar entry content reference.
-
Parameters:
-
id
- "symbolic" path identifier -
jarContentReference
- jar file content reference -
entry
- jar entry -
Since:
- 2.0
getInputStream
public
InputStream getInputStream()
throws
IOException
-
Deprecated.
- Creates an input stream for the reference.
-
-
Overrides:
-
getInputStream
in class
ContentReference
-
-
Returns:
- input stream
-
Throws:
-
IOException
- unable to create stream -
Since:
- 2.0
getInputSize
public long getInputSize()
-
Deprecated.
- Returns the size of the referenced entry.
-
-
Overrides:
-
getInputSize
in class
ContentReference
-
-
Returns:
- input size
-
Since:
- 2.0
isLocalReference
public boolean isLocalReference()
-
Deprecated.
- Indicates whether the reference is to a an entry within a local jar.
-
-
Overrides:
-
isLocalReference
in class
ContentReference
-
-
Returns:
-
true
if the reference is local,
otherwise false
-
Since:
- 2.0
asURL
public
URL asURL()
throws
IOException
-
Deprecated.
- Returns the content reference as a URL.
-
-
Overrides:
-
asURL
in class
ContentReference
-
-
Returns:
- reference as URL
-
Throws:
-
IOException
- reference cannot be returned as URL -
Since:
- 2.0
toString
public
String toString()
-
Deprecated.
- Return string representation of this reference.
-
-
Overrides:
-
toString
in class
ContentReference
-
-
Returns:
- string representation
-
Since:
- 2.0
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.