Remote Systems
v6.4.1

com.ibm.etools.systems.core.archiveutils
Class SystemUniversalZipEntry

java.lang.Object
  extended bycom.ibm.etools.systems.core.archiveutils.SystemUniversalZipEntry

public class SystemUniversalZipEntry
extends Object


Field Summary
protected  ZipEntry _entry
           
protected  String _entryFullName
           
protected  String _entryFullPath
           
protected  String _entryName
           
protected  String _extension
           
protected  boolean _nested
           
 
Constructor Summary
SystemUniversalZipEntry(ZipEntry entry)
           
 
Method Summary
 ZipEntry getEntry()
          Returns the ZipEntry associated with this SystemUniversalZipEntry
 String getExtension()
          Returns the extension of this entry, if the entry is a file, null string otherwise.
 String getFullName()
          Returns the full name associated with this entry (including path to the entry) within the ZipFile file structure.
 String getFullPath()
          Returns the full path to the entry within the ZipFile file structure.
 String getName()
          Returns only the filename associated with this entry in the ZipFile file structure.
 boolean isDirectory()
           
 boolean isNested()
          Returns whether or not this entry is nested within folders within the zip file.
 void setEntry(ZipEntry newEntry)
          Sets the ZipEntry associated with this SystemUniversalZipEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_entry

protected ZipEntry _entry

_entryFullName

protected String _entryFullName

_entryFullPath

protected String _entryFullPath

_entryName

protected String _entryName

_extension

protected String _extension

_nested

protected boolean _nested
Constructor Detail

SystemUniversalZipEntry

public SystemUniversalZipEntry(ZipEntry entry)
Method Detail

getEntry

public ZipEntry getEntry()
Returns the ZipEntry associated with this SystemUniversalZipEntry


setEntry

public void setEntry(ZipEntry newEntry)
Sets the ZipEntry associated with this SystemUniversalZipEntry


getFullPath

public String getFullPath()
Returns the full path to the entry within the ZipFile file structure. Note: this is NOT the full path to the ZipFile in the regular file system.

Returns:
a String containing the full path leading to the ZipEntry within the ZipFile file structure. Does not include the file name.

getFullName

public String getFullName()
Returns the full name associated with this entry (including path to the entry) within the ZipFile file structure. Note: this is NOT the full path to the ZipFile in the regular file system.

Returns:
a String containing the full name including path of the ZipEntry within the ZipFile file structure. Includes the file name.

getName

public String getName()
Returns only the filename associated with this entry in the ZipFile file structure.

Returns:
a String containing only the file name of this ZipEntry.

getExtension

public String getExtension()
Returns the extension of this entry, if the entry is a file, null string otherwise.


isNested

public boolean isNested()
Returns whether or not this entry is nested within folders within the zip file.


isDirectory

public boolean isDirectory()
Returns:
Whether or not this zipentry is a directory.

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for 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.