Home about services products contact login
   com.smardec

J2Native

  j2native
com.smardec.j2native
Interface StringType

All Known Implementing Classes:
ZeroTerminatedString

public interface StringType

This is a generic interface for all parameters holding a string value.


Method Summary
int getMaxSize()
Getter for string argument maximum size
java.lang.String getValue()
Getter for the string value of the argument
boolean isAutoResize()
Shows if string argument is autoresizeable.
void setAutoResize(boolean autoResize)
Sets an auto resizeable property.
void setMaxSize(int maxSize)
Sets the maximum size of the string argument.
void setValue(java.lang.String value)
Sets the value for the argument.

Method Detail
isAutoResize

public boolean isAutoResize()
Shows if string argument is autoresizeable. Autoresizeabe means that no string value length specified, and it could be any length

Returns:
is auto resizeable

setAutoResize
public void setAutoResize(boolean autoResize)
Sets an auto resizeable property.

Parameters:
autoResize - autoresizeability

getMaxSize
public int getMaxSize()
Getter for string argument maximum size

Returns:
maximum size of the string argument

setMaxSize
public void setMaxSize(int maxSize)
Sets the maximum size of the string argument. All data more than specified max size will be ignored.

NOTE: mam size means maximum quantity of the characters

Parameters:
maxSize - maximum size of the string argument

setValue
public void setValue(java.lang.String value)
Sets the value for the argument.

Parameters:
value - the value to set.

getValue
public java.lang.String getValue()
Getter for the string value of the argument

Returns:
the string value of the argument
Home about services products contact login