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:
AutoCloseable
public class CFMutableString extends CFString
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFMutableString.CFMutableStringPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFString
CFString.AsStringMarshaler, CFString.AsStringNoRetainMarshaler, CFString.CFStringPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFMutableString() -
Method Summary
Modifier and Type Method Description voidappend(String appendedString)voidappendCString(BytePtr cStr, CFStringEncodings encoding)voidappendPascalString(BytePtr pStr, CFStringEncodings encoding)voidcapitalize(CFLocale locale)static CFMutableStringcreate(long maxLength)static CFMutableStringcreate(CFAllocator alloc, long maxLength)static CFMutableStringcreateCopy(long maxLength, CFMutableString theString)static CFMutableStringcreateCopy(CFAllocator alloc, long maxLength, CFMutableString theString)voiddelete(CFRange range)longfindAndReplace(String stringToFind, String replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions)voidfold(CFStringCompareFlags theFlags, CFLocale theLocale)voidinsert(long idx, String insertedStr)voidlowercase(CFLocale locale)voidnormalize(CFStringNormalizationForm theForm)voidpad(String padString, long length, long indexIntoPad)voidreplace(CFRange range, String replacement)voidreplaceAll(String replacement)booleantransform(CFRange range, CFStringTransform transform, boolean reverse)voidtrim(String trimString)voidtrimWhitespace()voiduppercase(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, toStringMethods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, writeMethods 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
-
Constructor Details
-
CFMutableString
protected CFMutableString()
-
-
Method Details
-
create
-
createCopy
-
create
-
createCopy
public static CFMutableString createCopy(CFAllocator alloc, long maxLength, CFMutableString theString) -
append
-
appendPascalString
-
appendCString
-
insert
-
delete
-
replace
-
replaceAll
-
findAndReplace
public long findAndReplace(String stringToFind, String replacementString, CFRange rangeToSearch, CFStringCompareFlags compareOptions) -
pad
-
trim
-
trimWhitespace
public void trimWhitespace() -
lowercase
-
uppercase
-
capitalize
-
normalize
-
fold
-
transform
-