All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.StringEncoding

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.StringEncoding

public class StringEncoding
extends NativeObject
This class wraps the Objective-C class NSJavaStringEncoding.


Variable Index

 o ASCIIStringEncoding
 o ISO2022JPStringEncoding
 o ISOLatin1StringEncoding
 o ISOLatin2StringEncoding
 o JapaneseEUCStringEncoding
 o MacOSRomanStringEncoding
 o NEXTSTEPStringEncoding
 o NonLossyASCIIStringEncoding
 o ShiftJISStringEncoding
 o SymbolStringEncoding
 o UnicodeStringEncoding
 o UTF8StringEncoding
 o WindowsCP1250StringEncoding
 o WindowsCP1251StringEncoding
 o WindowsCP1252StringEncoding
 o WindowsCP1253StringEncoding
 o WindowsCP1254StringEncoding

Constructor Index

 o StringEncoding()
This default constructor is equivalent to Objective-C's [[NSJavaStringEncoding alloc] init].
 o StringEncoding(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o availableStringEncodings()
A wrapper for the + availableStringEncodings Objective-C class method.
 o canBeConvertedToEncoding(String, int)
A wrapper for the + canBeConvertedToEncoding:: Objective-C class method.
 o dataUsingEncoding(String, int)
A wrapper for the + dataUsingEncoding:: Objective-C class method.
 o dataUsingEncodingWithConversion(String, int, boolean)
A wrapper for the + dataUsingEncoding::allowLossyConversion: Objective-C class method.
 o defaultCStringEncoding()
A wrapper for the + defaultCStringEncoding Objective-C class method.
 o fastestEncoding(String)
A wrapper for the + fastestEncoding: Objective-C class method.
 o localizedNameOfStringEncoding(int)
A wrapper for the + localizedNameOfStringEncoding: Objective-C class method.
 o smallestEncoding(String)
A wrapper for the + smallestEncoding: Objective-C class method.
 o stringWithDataUsingEncoding(Data, int)
A wrapper for the + stringWithData:encoding: Objective-C class method.

Variables

 o ASCIIStringEncoding
 public static final int ASCIIStringEncoding
 o NEXTSTEPStringEncoding
 public static final int NEXTSTEPStringEncoding
 o JapaneseEUCStringEncoding
 public static final int JapaneseEUCStringEncoding
 o UTF8StringEncoding
 public static final int UTF8StringEncoding
 o ISOLatin1StringEncoding
 public static final int ISOLatin1StringEncoding
 o SymbolStringEncoding
 public static final int SymbolStringEncoding
 o NonLossyASCIIStringEncoding
 public static final int NonLossyASCIIStringEncoding
 o ShiftJISStringEncoding
 public static final int ShiftJISStringEncoding
 o ISOLatin2StringEncoding
 public static final int ISOLatin2StringEncoding
 o UnicodeStringEncoding
 public static final int UnicodeStringEncoding
 o WindowsCP1251StringEncoding
 public static final int WindowsCP1251StringEncoding
 o WindowsCP1252StringEncoding
 public static final int WindowsCP1252StringEncoding
 o WindowsCP1253StringEncoding
 public static final int WindowsCP1253StringEncoding
 o WindowsCP1254StringEncoding
 public static final int WindowsCP1254StringEncoding
 o WindowsCP1250StringEncoding
 public static final int WindowsCP1250StringEncoding
 o ISO2022JPStringEncoding
 public static final int ISO2022JPStringEncoding
 o MacOSRomanStringEncoding
 public static final int MacOSRomanStringEncoding

Constructors

 o StringEncoding
 protected StringEncoding(boolean shouldAllocate,
                          int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o StringEncoding
 public StringEncoding()
This default constructor is equivalent to Objective-C's [[NSJavaStringEncoding alloc] init].

Methods

 o fastestEncoding
 public static native int fastestEncoding(String string)
A wrapper for the + fastestEncoding: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o smallestEncoding
 public static native int smallestEncoding(String string)
A wrapper for the + smallestEncoding: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o dataUsingEncodingWithConversion
 public static native Data dataUsingEncodingWithConversion(String string,
                                                           int encoding,
                                                           boolean lossy)
A wrapper for the + dataUsingEncoding::allowLossyConversion: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o dataUsingEncoding
 public static native Data dataUsingEncoding(String string,
                                             int encoding)
A wrapper for the + dataUsingEncoding:: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o canBeConvertedToEncoding
 public static native boolean canBeConvertedToEncoding(String string,
                                                       int encoding)
A wrapper for the + canBeConvertedToEncoding:: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o defaultCStringEncoding
 public static native int defaultCStringEncoding()
A wrapper for the + defaultCStringEncoding Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o availableStringEncodings
 public static native Array availableStringEncodings()
A wrapper for the + availableStringEncodings Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o localizedNameOfStringEncoding
 public static native String localizedNameOfStringEncoding(int encoding)
A wrapper for the + localizedNameOfStringEncoding: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).

 o stringWithDataUsingEncoding
 public static native Object stringWithDataUsingEncoding(Data data,
                                                         int encoding)
A wrapper for the + stringWithData:encoding: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, StringEncoding, should be enough to head you in the right direction should you find more than one such method).


All Packages  Class Hierarchy  This Package  Previous  Next  Index