public abstract class StiFormatService extends StiService implements IStiDefault, IStiJsonReportObject
propertiesREFERENCE_EMPTY, REFERENCE_REPORT| Constructor and Description |
|---|
StiFormatService() |
| 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.
|
java.lang.String |
format(java.lang.String format,
java.lang.Object arg)
Formats the specified object in order of format and returns a string.
|
boolean |
getIsFormatStringFromVariable()
Internal use only.
|
java.lang.String |
getNativeFormatString()
Returns native format string.
|
abstract int |
getPosition() |
abstract java.lang.Object |
getSample()
Gets value to show a sample of formatting.
|
java.lang.String |
getServiceCategory()
Gets a service category.
|
java.lang.Class<?> |
getServiceType()
Gets a service type.
|
StiEnumSet<StiTextFormatState> |
getState() |
java.lang.String |
getStringFormat()
Gets or sets string of formatting.
|
int |
hashCode() |
boolean |
isDefault() |
void |
LoadFromJsonObject(JSONObject jObject) |
static StiFormatService |
LoadFromJsonObjectInternal(JSONObject jObject) |
JSONObject |
SaveToJsonObject(StiJsonSaveMode mode) |
void |
setState(StiEnumSet<StiTextFormatState> state) |
void |
setStringFormat(java.lang.String value) |
java.lang.String |
toString() |
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledcleanReference, getReference, setReferencepublic final boolean isDefault()
isDefault in interface IStiDefaultpublic final java.lang.String getServiceCategory()
getServiceCategory in class StiServicepublic final java.lang.Class<?> getServiceType()
getServiceType in class StiServicepublic abstract int getPosition()
public abstract java.lang.Object getSample()
public java.lang.String getNativeFormatString()
public final boolean getIsFormatStringFromVariable()
public java.lang.String getStringFormat()
public void setStringFormat(java.lang.String value)
public java.lang.String Format(java.lang.Object arg)
arg - Object for formatting.public java.lang.String format(java.lang.String format,
java.lang.Object arg)
format - String of formatting.arg - Object for formatting.public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic StiEnumSet<StiTextFormatState> getState()
public void setState(StiEnumSet<StiTextFormatState> state)
state - the state to setpublic JSONObject SaveToJsonObject(StiJsonSaveMode mode) throws JSONException
SaveToJsonObject in interface IStiJsonReportObjectJSONExceptionpublic void LoadFromJsonObject(JSONObject jObject) throws JSONException
LoadFromJsonObject in interface IStiJsonReportObjectJSONExceptionpublic static StiFormatService LoadFromJsonObjectInternal(JSONObject jObject) throws JSONException
JSONExceptionCopyright © 2019 Stimulsoft. All Rights Reserved.