|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.util.io.Properties | +--com.klg.jclass.util.io.OutputProperties
Encapsulate the properties that may be needed to save a file (such as a data file or image file)
Field Summary | |
protected int |
fileAccess
|
protected String |
outputFileName
|
protected String |
propertyName
|
protected String |
saveType
|
Fields inherited from class com.klg.jclass.util.io.Properties |
ABSOLUTE, CHARSET_ASCII, CHARSET_ISO, CHARSET_UTF_8, charsets, DEFAULT_ACCESS, DEFAULT_CHARSET_NAME, fileAccess_i18n_strings, fileAccess_strings, fileAccess_values, ignoreExternalResourceExceptions, RELATIVE_URL, RESOLVING_CLASS, SERVLET, URL |
Constructor Summary | |
OutputProperties()
Default constructor. |
|
OutputProperties(String propertyName,
int fileAccess)
Constructor which specifies output fileName, propertyName, saveType, and fileAccess |
|
OutputProperties(String outputFileName,
String propertyName,
String saveType,
int fileAccess)
Constructor which specifies output fileName, propertyName, saveType, and fileAccess |
Method Summary | |
int |
getFileAccess()
Gets the type of file access. |
String |
getOutputFileName()
Returns the file name of the actual output file to write to (if null, nothing is written) |
String |
getPropertyName()
Gets the name to write to the property. |
String |
getSaveType()
Gets the type of file to save. |
void |
setFileAccess(int fileAccess)
Sets the type of file access. |
void |
setOutputFileName(String outputFileName)
Sets the file name of the actual output file to write to (if null, nothing is written) |
void |
setPropertyName(String propertyName)
Sets the name to write to the property. |
void |
setSaveType(String saveType)
Sets the type of file to save. |
Methods inherited from class com.klg.jclass.util.io.Properties |
clone, getDefaultAccess, getFileAccessEnumFromString, getFileAccessStringFromEnum, ignoreExternalResourceExceptions, setIgnoreExternalResourceExceptions |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String outputFileName
protected String propertyName
protected String saveType
protected int fileAccess
Constructor Detail |
public OutputProperties()
public OutputProperties(String propertyName, int fileAccess)
propertyName
- Name to write to the propertyfileAccess
- Type of access to file. Must be one of
Properties.DEFAULT_ACCESS
,
Properties.ABSOLUTE
,
Properties.RESOLVING_CLASS
,
Properties.URL
,
Properties.RELATIVE_URL
,
Properties.SERVLET
public OutputProperties(String outputFileName, String propertyName, String saveType, int fileAccess)
outputFileName
- Name of actual output file to write to (if
null, nothing is written out)propertyName
- Name to write to the propertysaveType
- The type of file to savefileAccess
- Type of access to file. Must be one of
Properties.DEFAULT_ACCESS
,
Properties.ABSOLUTE
,
Properties.RESOLVING_CLASS
,
Properties.URL
,
Properties.RELATIVE_URL
,
Properties.SERVLET
Method Detail |
public String getOutputFileName()
public void setOutputFileName(String outputFileName)
outputFileName
- The file name of the actual output file to write topublic String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- The new name to write to the propertypublic String getSaveType()
public void setSaveType(String saveType)
saveType
- The new way to save the filepublic int getFileAccess()
Properties.DEFAULT_ACCESS
,
Properties.ABSOLUTE
,
Properties.RESOLVING_CLASS
,
Properties.URL
,
Properties.RELATIVE_URL
,
Properties.SERVLET
public void setFileAccess(int fileAccess)
Properties.DEFAULT_ACCESS
,
Properties.ABSOLUTE
,
Properties.RESOLVING_CLASS
,
Properties.URL
,
Properties.RELATIVE_URL
,
Properties.SERVLET
fileAccess
- The new file access type
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |