Package org.robovm.apple.corefoundation
Class CFMutableString
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- org.robovm.apple.corefoundation.CFPropertyList
-
- org.robovm.apple.corefoundation.CFString
-
- org.robovm.apple.corefoundation.CFMutableString
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CFMutableString extends CFString
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFMutableString.CFMutableStringPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFString
CFString.AsStringMarshaler, CFString.AsStringNoRetainMarshaler, CFString.CFStringPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFMutableString()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(java.lang.String appendedString)
void
appendCString(org.robovm.rt.bro.ptr.BytePtr cStr, CFStringEncodings encoding)
void
appendPascalString(org.robovm.rt.bro.ptr.BytePtr pStr, CFStringEncodings encoding)
void
capitalize(CFLocale locale)
static CFMutableString
create(long maxLength)
static CFMutableString
create(CFAllocator alloc, long maxLength)
static CFMutableString
createCopy(long maxLength, CFMutableString theString)
static CFMutableString
createCopy(CFAllocator alloc, long maxLength, CFMutableString theString)
void
delete(CFRange range)
long
findAndReplace(java.lang.String stringToFind, java.lang.String replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions)
void
fold(CFStringCompareFlags theFlags, CFLocale theLocale)
void
insert(long idx, java.lang.String insertedStr)
void
lowercase(CFLocale locale)
void
normalize(CFStringNormalizationForm theForm)
void
pad(java.lang.String padString, long length, long indexIntoPad)
void
replace(CFRange range, java.lang.String replacement)
void
replaceAll(java.lang.String replacement)
boolean
transform(CFRange range, CFStringTransform transform, boolean reverse)
void
trim(java.lang.String trimString)
void
trimWhitespace()
void
uppercase(CFLocale locale)
-
Methods inherited from class org.robovm.apple.corefoundation.CFString
compare, compare, compare, convertEncodingToIANACharSetName, convertEncodingToNSStringEncoding, convertEncodingToWindowsCodepage, convertIANACharSetNameToEncoding, convertNSStringEncodingToEncoding, convertWindowsCodepageToEncoding, createArrayBySeparatingStrings, createArrayWithFindResults, createByCombiningStrings, createCopy, createExternalRepresentation, createFromExternalRepresentation, createWithBytes, createWithBytesNoCopy, createWithCharacters, createWithCharactersNoCopy, createWithCString, createWithCStringNoCopy, createWithFileSystemRepresentation, createWithPascalString, createWithPascalStringNoCopy, createWithSubstring, find, find, find, find, getBytes, getCharacterAtIndex, getCharacters, getCharactersPtr, getClassTypeID, getCString, getCStringPtr, getDoubleValue, getFastestEncoding, getFileSystemRepresentation, getHyphenationLocationBeforeIndex, getIntValue, getLineBounds, getListOfAvailableEncodings, getMaximumSizeForEncoding, getMaximumSizeOfFileSystemRepresentation, getMostCompatibleMacStringEncoding, getNameOfEncoding, getParagraphBounds, getPascalString, getPascalStringPtr, getRangeOfComposedCharactersAtIndex, getSmallestEncoding, getSystemEncoding, hasPrefix, hasSuffix, isEncodingAvailable, isHyphenationAvailableForLocale, length, show, toString
-
Methods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, write
-
Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain
-
-
-
-
Method Detail
-
create
public static CFMutableString create(long maxLength)
-
createCopy
public static CFMutableString createCopy(long maxLength, CFMutableString theString)
-
create
public static CFMutableString create(CFAllocator alloc, long maxLength)
-
createCopy
public static CFMutableString createCopy(CFAllocator alloc, long maxLength, CFMutableString theString)
-
append
public void append(java.lang.String appendedString)
-
appendPascalString
public void appendPascalString(org.robovm.rt.bro.ptr.BytePtr pStr, CFStringEncodings encoding)
-
appendCString
public void appendCString(org.robovm.rt.bro.ptr.BytePtr cStr, CFStringEncodings encoding)
-
insert
public void insert(long idx, java.lang.String insertedStr)
-
delete
public void delete(CFRange range)
-
replace
public void replace(CFRange range, java.lang.String replacement)
-
replaceAll
public void replaceAll(java.lang.String replacement)
-
findAndReplace
public long findAndReplace(java.lang.String stringToFind, java.lang.String replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions)
-
pad
public void pad(java.lang.String padString, long length, long indexIntoPad)
-
trim
public void trim(java.lang.String trimString)
-
trimWhitespace
public void trimWhitespace()
-
lowercase
public void lowercase(CFLocale locale)
-
uppercase
public void uppercase(CFLocale locale)
-
capitalize
public void capitalize(CFLocale locale)
-
normalize
public void normalize(CFStringNormalizationForm theForm)
-
fold
public void fold(CFStringCompareFlags theFlags, CFLocale theLocale)
- Since:
- Available in iOS 2.0 and later.
-
transform
public boolean transform(CFRange range, CFStringTransform transform, boolean reverse)
-
-