|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.core.JIString
public final class JIString
Class representing a String. The Wide Char (LPWSTR) and the BSTRs are both encoded by the server in "UTF-16LE". This encoding will be preserved by the library for all to and fro operations.
Field Summary | |
---|---|
JIVariant |
Variant
Represents JIVariant for this JIString, it is valid only if the JIString is a BSTR(JIFlags.FLAG_REPRESENTATION_STRING_BSTR) type. |
JIVariant |
VariantByRef
Represents JIVariant(byRef = true) for this JIString, it is valid only if the JIString is a BSTR(JIFlags.FLAG_REPRESENTATION_STRING_BSTR) type. |
Constructor Summary | |
---|---|
JIString(int type)
Creates a JIString Object of the specified type. |
|
JIString(java.lang.String str)
Creates a JIString Object of the BSTR type. |
|
JIString(java.lang.String str,
int type)
Creates a JIString Object. |
Method Summary | |
---|---|
java.lang.String |
getString()
String encapsulated by this Object. |
int |
getType()
Type representing the String |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final JIVariant Variant
public final JIVariant VariantByRef
Constructor Detail |
---|
public JIString(int type)
type
- JIFlags , String flags only.public JIString(java.lang.String str, int type)
str
- type
- JIFlags , String flags only.public JIString(java.lang.String str)
str
- Method Detail |
---|
public java.lang.String getString()
public int getType()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |