|
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.ReportDataDescriptor
public class ReportDataDescriptor
Report data descriptor contains the label, file type and file format information of a type of report data.
| Field Summary | |
|---|---|
boolean |
compressed
Indicates if file is compressed. |
int |
format
Report data file format. |
Icon |
icon
Icon that represents the file type. |
String |
iconName
The name of the icon that represents the file type. |
String |
label
Report data file label. |
String |
type
Report data file type. |
boolean |
visible
Indicates if file is visible. |
| Constructor Summary | |
|---|---|
ReportDataDescriptor(String label,
String type,
int fmt,
boolean compressed,
String icon,
boolean visible)
Create a report data descriptor. |
|
| Method Summary | |
|---|---|
static ReportDataDescriptor |
getDescriptor(String type)
Get the data descriptor for the specified file type. |
static ReportDataDescriptor[] |
getDescriptors()
Get all the predefined report data descriptors. |
static String |
getFileType(int fmt)
Get the file type of a file format. |
static boolean |
isReportDataFile(String fname)
Check if a file is a report data file. |
static boolean |
isReportDataFolder(String fname)
Check if a folder is a report data folder. |
String |
toString()
Get the string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String label
public final String type
public final int format
public final boolean compressed
public final Icon icon
public final String iconName
public final boolean visible
| Constructor Detail |
|---|
public ReportDataDescriptor(String label,
String type,
int fmt,
boolean compressed,
String icon,
boolean visible)
label - the specified file label.type - the specified file type.fmt - the specified file format.compressed - indicates if the file is compressed.icon - icon that represents the file type.| Method Detail |
|---|
public static ReportDataDescriptor[] getDescriptors()
public static String getFileType(int fmt)
fmt - the specified fmt;
public static ReportDataDescriptor getDescriptor(String type)
type - the file type of the descriptor to get.
public static boolean isReportDataFile(String fname)
fname - the specified file name.
public static boolean isReportDataFolder(String fname)
fname - the specified folder name.
public String toString()
toString in class Object
|
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 | ||||||||