public class StiGeneralFormatService extends StiFormatService
| Modifier and Type | Field and Description |
|---|---|
static StiGeneralFormatService |
Default |
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiGeneralFormatService()
Creates format by default.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
Format(java.lang.Object arg)
Formats the specified object in order of format and returns a string.
|
int |
getPosition() |
java.lang.Object |
getSample()
Gets value to show a sample of formatting.
|
java.lang.String |
getServiceName()
Gets a service name.
|
java.lang.String |
getStringFormat()
Gets or sets string of formatting.
|
int |
hashCode() |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setStringFormat(java.lang.String value) |
format, getIsFormatStringFromVariable, getNativeFormatString, getServiceCategory, getServiceType, getState, isDefault, LoadFromJsonObject, LoadFromJsonObjectInternal, setState, toStringclone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic static StiGeneralFormatService Default
public StiGeneralFormatService()
public java.lang.String getServiceName()
getServiceName in class StiServicepublic java.lang.String Format(java.lang.Object arg)
StiFormatServiceFormat in class StiFormatServicearg - Object for formatting.public int getPosition()
getPosition in class StiFormatServicepublic java.lang.Object getSample()
getSample in class StiFormatServicepublic java.lang.String getStringFormat()
getStringFormat in class StiFormatServicepublic void setStringFormat(java.lang.String value)
setStringFormat in class StiFormatServicepublic boolean equals(java.lang.Object obj)
equals in class StiFormatServicepublic int hashCode()
hashCode in class StiFormatServicepublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectSaveToJsonObject in class StiFormatServiceJSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.