|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.sree.store.VersionInfo
public class VersionInfo
File version information.
| Constructor Summary | |
|---|---|
VersionInfo()
Create a version info. |
|
VersionInfo(String ver)
Create a version info. |
|
VersionInfo(String version,
Date creation,
String type,
String comment)
Create a version info. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the version info. |
boolean |
equals(Object obj)
Check if equals another object. |
String |
getComment()
Get the comment of the version info. |
Date |
getCreationDate()
Get the creation date of the version info. |
long |
getFileSize()
Gets the size of the archived file. |
int |
getHtmlType()
Get htmlType. |
String |
getType()
Get the file type of the version info, which should be one of the constants predefined in ReportData like PDF, XLS, etc. |
String |
getVersion()
Get the version of the version info. |
int |
hashCode()
Get the hash code of the version info. |
boolean |
isCompressed()
Determines if the file is compressed in storage. |
void |
parseXML(Element tag)
Parse XML segment. |
void |
setComment(String comment)
Set the comment of the version info. |
void |
setCompressed(boolean compressed)
Sets whether the file will be compressed in storage. |
void |
setCreationDate(Date date)
Set the creation date of the version info. |
void |
setFileSize(long fileSize)
Sets the size of the archived file. |
void |
setHtmlType(int htmlType)
Set htmlType. |
void |
setType(String type)
Set the file type of the version info, which should be one of the constants predefined in ReportData like PDF, XLS, etc. |
void |
setVersion(String version)
Set the version of the version info. |
String |
toString()
Get the string representation. |
void |
writeXML(PrintWriter writer)
Write XML segment. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VersionInfo()
public VersionInfo(String ver)
ver - the specified version.
public VersionInfo(String version,
Date creation,
String type,
String comment)
version - the specified version.creation - the specified creation date.type - the specified file type.comment - the specified comment.| Method Detail |
|---|
public String getVersion()
public void setVersion(String version)
version - the specified version.public Date getCreationDate()
public void setCreationDate(Date date)
date - the specified creation date.public String getType()
public void setType(String type)
type - the specified file type.public String getComment()
public void setComment(String comment)
comment - the specified comment.public boolean isCompressed()
true if the archived file is compressed;
false otherwise.public void setCompressed(boolean compressed)
compressed - true if the archived file is compressed;
false otherwise.public long getFileSize()
public void setFileSize(long fileSize)
fileSize - the size of the file in bytes.public boolean equals(Object obj)
equals in class Objectobj - the specified object.
public int hashCode()
hashCode in class Object
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablepublic String toString()
toString in class Objectpublic Object clone()
clone in class Objectpublic void setHtmlType(int htmlType)
public int getHtmlType()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||