| j2native |
| AnsiString |
| Argument |
| ArrayArgument |
| ArrayType |
| Bool |
| Callback |
| Char |
| Const |
| DelegatedArgument |
| DoubleFloat |
| FloatArgument |
| FloatType |
| Function |
| FunctionExecutionException |
| FunctionNotFoundException |
| IllegalMemoryAccessException |
| Int |
| Int16 |
| Int32 |
| Int64 |
| Int8 |
| IntegerArgument |
| IntegerType |
| J2NativeContext |
| Library |
| LibraryLoader |
| LibraryNotFoundException |
| MemoryException |
| NumericArgument |
| NumericType |
| OutOnly |
| Pointer |
| Pointer.Const |
| Pointer.OutOnly |
| Pointer.Void |
| PointerArgument |
| PointerType |
| SimpleFloat |
| StringType |
| StructuralArgument |
| Structure |
| TypedPointer |
| UInt |
| UInt16 |
| UInt32 |
| UInt8 |
| Union |
| WideChar |
| WideString |
| ZeroTerminatedString |
|  |
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. |
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
|
|
|