Style Intelligence v12.0

inetsoft.sree.store
Class ArchiveIdentity

java.lang.Object
  extended by inetsoft.sree.store.ArchiveIdentity
All Implemented Interfaces:
Comparable

public class ArchiveIdentity
extends Object
implements Comparable

ArchiveIdentity contains the basic archive information.


Constructor Summary
ArchiveIdentity()
          Create an archive identity.
ArchiveIdentity(String path, String version, boolean folder)
          Create an archive identity.
 
Method Summary
 int compareTo(Object obj)
          Compare to another object.
 boolean equals(Object obj)
          Check if equals another object.
 String getPath()
          Get the archive path.
 String getVersion()
          Get the archive version.
 int hashCode()
          Get the hash code value.
 boolean isFolder()
          Check if is a folder.
 void parseURL(String url)
          Parse url string.
 String writeURL()
          Write url string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveIdentity

public ArchiveIdentity()
Create an archive identity.


ArchiveIdentity

public ArchiveIdentity(String path,
                       String version,
                       boolean folder)
Create an archive identity.

Method Detail

getPath

public String getPath()
Get the archive path.


getVersion

public String getVersion()
Get the archive version.


isFolder

public boolean isFolder()
Check if is a folder.


equals

public boolean equals(Object obj)
Check if equals another object.

Overrides:
equals in class Object

hashCode

public int hashCode()
Get the hash code value.

Overrides:
hashCode in class Object

compareTo

public int compareTo(Object obj)
Compare to another object.

Specified by:
compareTo in interface Comparable

parseURL

public void parseURL(String url)
Parse url string.


writeURL

public String writeURL()
Write url string.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.