Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.core
Class JarEntryContentReference

java.lang.Object
  extended by 

org.eclipse.update.core.ContentReference
      extended by 
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

Field Summary
 
Fields inherited from class org.eclipse.update.core. ContentReference
DEFAULT_EXECUTABLE_PERMISSION, UNKNOWN_SIZE
 
Constructor Summary
JarEntryContentReference ( String id, JarContentReference jarContentReference, JarEntry entry)
          Deprecated. Create jar entry content reference.
 
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.
 
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

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
Method Detail

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire