public class NSString extends NSObject implements NSCopyingProtocol, NSCodingProtocol, NSMutableCopyingProtocol
NSString
class.
See the class documentation at the Apple's site: NSStringConstructor and Description |
---|
NSString() |
NSString(boolean autorelease)
Contructs the
NSString class with the autorelease option on. |
NSString(com.jniwrapper.Pointer.Void instancePtr)
Contructs the
NSString class from pointer. |
NSString(java.lang.String string)
Contructs the
NSString class from Java String. |
NSString(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the
NSString class with static constructor. |
Modifier and Type | Method and Description |
---|---|
com.jniwrapper.Bool |
canBeConvertedToEncoding(NSStringEncoding encoding) |
com.jniwrapper.Pointer.Void |
capitalizedString() |
NSComparisonResult |
caseInsensitiveCompare(java.lang.String string) |
unichar |
characterAtIndex(com.jniwrapper.UInt16 index) |
com.jniwrapper.Pointer.Void |
commonPrefixWithString_options(java.lang.String aString,
com.jniwrapper.UInt16 mask)
This method represents the
commonPrefixWithString() method of the NSString Objective-C class. |
NSComparisonResult |
compare_options_range_locale(java.lang.String string,
com.jniwrapper.UInt16 mask,
NSRange compareRange,
NSDictionary dict)
This method represents the
compare() method of the NSString Objective-C class. |
NSComparisonResult |
compare_options_range(java.lang.String string,
com.jniwrapper.UInt16 mask,
NSRange compareRange)
This method represents the
compare() method of the NSString Objective-C class. |
NSComparisonResult |
compare_options(java.lang.String string,
com.jniwrapper.UInt16 mask)
This method represents the
compare() method of the NSString Objective-C class. |
NSComparisonResult |
compare(java.lang.String string) |
com.jniwrapper.UInt16 |
completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(java.lang.String outputName,
boolean flag,
NSArray outputArray,
NSArray filterTypes)
This method represents the
completePathIntoString() method of the NSString Objective-C class. |
com.jniwrapper.Pointer.Void |
componentsSeparatedByString(java.lang.String separator) |
Id |
copyWithZone(NSZone zone) |
com.jniwrapper.AnsiString |
cString() |
com.jniwrapper.UInt16 |
cStringLength() |
com.jniwrapper.Pointer.Void |
dataUsingEncoding_allowLossyConversion(NSStringEncoding encoding,
boolean lossy)
This method represents the
dataUsingEncoding() method of the NSString Objective-C class. |
com.jniwrapper.Pointer.Void |
dataUsingEncoding(NSStringEncoding encoding) |
com.jniwrapper.Pointer.Void |
decomposedStringWithCanonicalMapping() |
com.jniwrapper.Pointer.Void |
decomposedStringWithCompatibilityMapping() |
com.jniwrapper.Pointer.Void |
description() |
com.jniwrapper.DoubleFloat |
doubleValue() |
void |
drawAtPoint_withAttributes(NSPoint point,
NSDictionary attrs)
This method represents the
drawAtPoint() method of the NSString Objective-C class. |
void |
drawInRect_withAttributes(NSRect rect,
NSDictionary attrs)
This method represents the
drawInRect() method of the NSString Objective-C class. |
void |
encodeWithCoder(NSCoder aCoder) |
NSStringEncoding |
fastestEncoding() |
com.jniwrapper.AnsiString |
fileSystemRepresentation() |
com.jniwrapper.SingleFloat |
floatValue() |
void |
getCharacters_range(unichar buffer,
NSRange aRange)
This method represents the
getCharacters() method of the NSString Objective-C class. |
void |
getCharacters(unichar buffer) |
void |
getCString_maxLength_range_remainingRange(com.jniwrapper.AnsiString bytes,
com.jniwrapper.UInt16 maxLength,
NSRange aRange,
NSRangePointer leftoverRange)
This method represents the
getCString() method of the NSString Objective-C class. |
void |
getCString_maxLength(com.jniwrapper.AnsiString bytes,
com.jniwrapper.UInt16 maxLength)
This method represents the
getCString() method of the NSString Objective-C class. |
void |
getCString(com.jniwrapper.AnsiString bytes) |
com.jniwrapper.Bool |
getFileSystemRepresentation_maxLength(com.jniwrapper.AnsiString cname,
com.jniwrapper.UInt16 max)
This method represents the
getFileSystemRepresentation() method of the NSString Objective-C class. |
void |
getLineStart_end_contentsEnd_forRange(com.jniwrapper.UInt16 startPtr,
com.jniwrapper.UInt16 lineEndPtr,
com.jniwrapper.UInt16 contentsEndPtr,
NSRange range)
This method represents the
getLineStart() method of the NSString Objective-C class. |
void |
getParagraphStart_end_contentsEnd_forRange(com.jniwrapper.UInt16 startPtr,
com.jniwrapper.UInt16 parEndPtr,
com.jniwrapper.UInt16 contentsEndPtr,
NSRange range)
This method represents the
getParagraphStart() method of the NSString Objective-C class. |
com.jniwrapper.UInt16 |
hash() |
com.jniwrapper.Bool |
hasPrefix(java.lang.String aString) |
com.jniwrapper.Bool |
hasSuffix(java.lang.String aString) |
Id |
init() |
protected void |
init(com.jniwrapper.Parameter[] fields) |
Id |
initWithBytes_length_encoding(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 len,
NSStringEncoding encoding)
This method represents the
initWithBytes() method of the NSString Objective-C class. |
Id |
initWithBytesNoCopy_length_encoding_freeWhenDone(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 len,
NSStringEncoding encoding,
boolean freeBuffer)
This method represents the
initWithBytesNoCopy() method of the NSString Objective-C class. |
Id |
initWithCharacters_length(unichar characters,
com.jniwrapper.UInt16 length)
This method represents the
initWithCharacters() method of the NSString Objective-C class. |
Id |
initWithCharactersNoCopy_length_freeWhenDone(unichar characters,
com.jniwrapper.UInt16 length,
boolean freeBuffer)
This method represents the
initWithCharactersNoCopy() method of the NSString Objective-C class. |
Id |
initWithCoder(NSCoder aDecoder) |
Id |
initWithContentsOfFile(java.lang.String path) |
Id |
initWithContentsOfURL(NSURL url) |
Id |
initWithCString_length(com.jniwrapper.AnsiString bytes,
com.jniwrapper.UInt16 length)
This method represents the
initWithCString() method of the NSString Objective-C class. |
Id |
initWithCString(com.jniwrapper.AnsiString bytes) |
Id |
initWithCStringNoCopy_length_freeWhenDone(com.jniwrapper.AnsiString bytes,
com.jniwrapper.UInt16 length,
boolean freeBuffer)
This method represents the
initWithCStringNoCopy() method of the NSString Objective-C class. |
Id |
initWithData_encoding(NSData data,
NSStringEncoding encoding)
This method represents the
initWithData() method of the NSString Objective-C class. |
Id |
initWithFormat_arguments(java.lang.String format,
com.jniwrapper.Pointer.Void argList)
This method represents the
initWithFormat() method of the NSString Objective-C class. |
Id |
initWithFormat_locale_arguments(java.lang.String format,
NSDictionary dict,
com.jniwrapper.Pointer.Void argList)
This method represents the
initWithFormat() method of the NSString Objective-C class. |
Id |
initWithFormat_locale(java.lang.String format,
NSDictionary dict,
com.jniwrapper.Parameter[] parameters)
This method represents the
initWithFormat() method of the NSString Objective-C class. |
Id |
initWithFormat(java.lang.String format,
com.jniwrapper.Parameter[] parameters) |
Id |
initWithString(java.lang.String aString) |
Id |
initWithUTF8String(com.jniwrapper.AnsiString bytes) |
com.jniwrapper.Int |
intValue() |
com.jniwrapper.Bool |
isAbsolutePath() |
com.jniwrapper.Bool |
isEqualToString(java.lang.String aString) |
com.jniwrapper.Pointer.Void |
lastPathComponent() |
com.jniwrapper.UInt |
length() |
NSRange |
lineRangeForRange(NSRange range) |
NSComparisonResult |
localizedCaseInsensitiveCompare(java.lang.String string) |
NSComparisonResult |
localizedCompare(java.lang.String string) |
com.jniwrapper.AnsiString |
lossyCString() |
com.jniwrapper.Pointer.Void |
lowercaseString() |
Id |
mutableCopyWithZone(NSZone zone) |
static NSString |
NSString_localizedStringWithFormat(java.lang.String format,
com.jniwrapper.Parameter[] parameters)
This method represents the
localizedStringWithFormat static constructor of the NSString Objective-C class. |
static NSString |
NSString_string()
This method represents the
string static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithCharacters_length(unichar characters,
com.jniwrapper.UInt16 length)
This method represents the
stringWithCharacters static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithContentsOfFile(java.lang.String path)
This method represents the
stringWithContentsOfFile static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithContentsOfURL(NSURL url)
This method represents the
stringWithContentsOfURL static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithCString_length(com.jniwrapper.AnsiString bytes,
com.jniwrapper.UInt16 length)
This method represents the
stringWithCString static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithCString(com.jniwrapper.AnsiString bytes)
This method represents the
stringWithCString static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithFormat(java.lang.String format,
com.jniwrapper.Parameter[] parameters)
This method represents the
stringWithFormat static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithString(java.lang.String string)
This method represents the
stringWithString static constructor of the NSString Objective-C class. |
static NSString |
NSString_stringWithUTF8String(com.jniwrapper.AnsiString bytes)
This method represents the
stringWithUTF8String static constructor of the NSString Objective-C class. |
NSRange |
paragraphRangeForRange(NSRange range) |
com.jniwrapper.Pointer.Void |
pathComponents() |
com.jniwrapper.Pointer.Void |
pathExtension() |
com.jniwrapper.Pointer.Void |
precomposedStringWithCanonicalMapping() |
com.jniwrapper.Pointer.Void |
precomposedStringWithCompatibilityMapping() |
Id |
propertyList() |
com.jniwrapper.Pointer.Void |
propertyListFromStringsFileFormat() |
NSRange |
rangeOfCharacterFromSet_options_range(NSCharacterSet aSet,
com.jniwrapper.UInt mask,
NSRange searchRange)
This method represents the
rangeOfCharacterFromSet() method of the NSString Objective-C class. |
NSRange |
rangeOfCharacterFromSet_options(NSCharacterSet aSet,
com.jniwrapper.UInt mask)
This method represents the
rangeOfCharacterFromSet() method of the NSString Objective-C class. |
NSRange |
rangeOfCharacterFromSet(NSCharacterSet aSet) |
NSRange |
rangeOfComposedCharacterSequenceAtIndex(com.jniwrapper.UInt16 index) |
NSRange |
rangeOfString_options_range(java.lang.String aString,
com.jniwrapper.UInt16 mask,
NSRange searchRange)
This method represents the
rangeOfString() method of the NSString Objective-C class. |
NSRange |
rangeOfString_options(java.lang.String aString,
com.jniwrapper.UInt16 mask)
This method represents the
rangeOfString() method of the NSString Objective-C class. |
NSRange |
rangeOfString(java.lang.String aString) |
NSSize |
sizeWithAttributes(NSDictionary attrs) |
NSStringEncoding |
smallestEncoding() |
static com.jniwrapper.Pointer.Void |
static_availableStringEncodings() |
static NSStringEncoding |
static_defaultCStringEncoding() |
static com.jniwrapper.Pointer.Void |
static_localizedNameOfStringEncoding(NSStringEncoding encoding) |
static com.jniwrapper.Pointer.Void |
static_pathWithComponents(NSArray components) |
com.jniwrapper.Pointer.Void |
stringByAbbreviatingWithTildeInPath() |
com.jniwrapper.Pointer.Void |
stringByAddingPercentEscapesUsingEncoding(NSStringEncoding enc) |
com.jniwrapper.Pointer.Void |
stringByAppendingFormat(java.lang.String format,
com.jniwrapper.Parameter[] parameters) |
com.jniwrapper.Pointer.Void |
stringByAppendingPathComponent(java.lang.String str) |
com.jniwrapper.Pointer.Void |
stringByAppendingPathExtension(java.lang.String str) |
com.jniwrapper.Pointer.Void |
stringByAppendingString(java.lang.String aString) |
com.jniwrapper.Pointer.Void |
stringByDeletingLastPathComponent() |
com.jniwrapper.Pointer.Void |
stringByDeletingPathExtension() |
com.jniwrapper.Pointer.Void |
stringByExpandingTildeInPath() |
com.jniwrapper.Pointer.Void |
stringByPaddingToLength_withString_startingAtIndex(com.jniwrapper.UInt16 newLength,
java.lang.String padString,
com.jniwrapper.UInt16 padIndex)
This method represents the
stringByPaddingToLength() method of the NSString Objective-C class. |
com.jniwrapper.Pointer.Void |
stringByReplacingPercentEscapesUsingEncoding(NSStringEncoding enc) |
com.jniwrapper.Pointer.Void |
stringByResolvingSymlinksInPath() |
com.jniwrapper.Pointer.Void |
stringByStandardizingPath() |
com.jniwrapper.Pointer.Void |
stringByTrimmingCharactersInSet(NSCharacterSet set) |
com.jniwrapper.Pointer.Void |
stringsByAppendingPaths(NSArray paths) |
com.jniwrapper.Pointer.Void |
substringFromIndex(com.jniwrapper.UInt16 from) |
com.jniwrapper.Pointer.Void |
substringToIndex(com.jniwrapper.UInt16 to) |
com.jniwrapper.Pointer.Void |
substringWithRange(NSRange range) |
com.jniwrapper.Pointer.Void |
uppercaseString() |
com.jniwrapper.AnsiString |
UTF8String() |
com.jniwrapper.Bool |
writeToFile_atomically(java.lang.String path,
boolean useAuxiliaryFile)
This method represents the
writeToFile() method of the NSString Objective-C class. |
com.jniwrapper.Bool |
writeToURL_atomically(NSURL url,
boolean atomically)
This method represents the
writeToURL() method of the NSString Objective-C class. |
_class, accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityHitTest, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute, addObserver_forKeyPath_options_context, alertShowHelp, application_delegateHandlesKey, application_openFile, application_openFiles, application_openFileWithoutUI, application_openTempFile, application_printFile, application_printFiles, applicationDidBecomeActive, applicationDidChangeScreenParameters, applicationDidFinishLaunching, applicationDidHide, applicationDidResignActive, applicationDidUnhide, applicationDidUpdate, applicationDockMenu, applicationOpenUntitledFile, applicationShouldHandleReopen_hasVisibleWindows, applicationShouldOpenUntitledFile, applicationShouldTerminate, applicationShouldTerminateAfterLastWindowClosed, applicationWillBecomeActive, applicationWillFinishLaunching, applicationWillHide, applicationWillResignActive, applicationWillTerminate, applicationWillUnhide, applicationWillUpdate, archiver_didEncodeObject, archiver_willEncodeObject, archiver_willReplaceObject_withObject, archiverDidFinish, archiverWillFinish, attributeKeys, authenticateComponents_withData, authenticationDataForComponents, autorelease, awakeAfterUsingCoder, awakeFromNib, bind_toObject_withKeyPath_options, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldSizeColumn_forUserResize_toWidth, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_willDisplayCell_atRow_column, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll, changeColor, changeFont, classCode, classDescription, classForArchiver, classForCoder, classForKeyedArchiver, classForPortCoder, className, coerceValue_forKey, comboBox_completedString, comboBox_indexOfItemWithStringValue, comboBox_objectValueForItemAtIndex, comboBoxCell_completedString, comboBoxCell_indexOfItemWithStringValue, comboBoxCell_objectValueForItemAtIndex, comboBoxSelectionDidChange, comboBoxSelectionIsChanging, comboBoxWillDismiss, comboBoxWillPopUp, commitEditing, concludeDragOperation, conformsToProtocol, connection_didCancelAuthenticationChallenge, connection_didFailWithError, connection_didReceiveAuthenticationChallenge, connection_didReceiveData, connection_didReceiveResponse, connection_handleRequest, connection_shouldMakeNewConnection, connection_willCacheResponse, connection_willSendRequest_redirectResponse, connectionDidFinishLoading, control_didFailToFormatString_errorDescription, control_didFailToValidatePartialString_errorDescription, control_isValidObject, control_textShouldBeginEditing, control_textShouldEndEditing, control_textView_completions_forPartialWordRange_indexOfSelectedItem, control_textView_doCommandBySelector, controlTextDidBeginEditing, controlTextDidChange, controlTextDidEndEditing, copy, createConversationForConnection, dealloc, dictionaryWithValuesForKeys, didChange_valuesAtIndexes_forKey, didChangeValueForKey, discardEditing, doesContain, doesNotRecognizeSelector, download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish, draggedImage_beganAt, draggedImage_endedAt_deposited, draggedImage_endedAt_operation, draggedImage_movedTo, draggingEnded, draggingEntered, draggingExited, draggingSourceOperationMaskForLocal, draggingUpdated, drawerDidClose, drawerDidOpen, drawerShouldClose, drawerShouldOpen, drawerWillClose, drawerWillOpen, drawerWillResizeContents_toSize, exposedBindings, fileManager_shouldProceedAfterError, fileManager_willProcessPath, fontManager_willIncludeFont, forwardInvocation, handleMachMessage, handlePortMessage, handleQueryWithUnboundKey, handleTakeValue_forUnboundKey, ignoreModifierKeysWhileDragging, image_didLoadPartOfRepresentation_withValidRows, image_didLoadRepresentation_withStatus, image_didLoadRepresentationHeader, image_willLoadRepresentation, imageDidNotDraw_inRect, indicesOfObjectsByEvaluatingObjectSpecifier, insertValue_atIndex_inPropertyWithKey, insertValue_inPropertyWithKey, inverseForRelationshipKey, isCaseInsensitiveLike, isEqual, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isKindOfClass, isLessThan, isLessThanOrEqualTo, isLike, isMemberOfClass, isNotEqualTo, isProxy, layoutManager_didCompleteLayoutForTextContainer_atEnd, layoutManagerDidInvalidateLayout, makeNewConnection_sender, menu_updateItem_atIndex_shouldCancel, menuHasKeyEquivalent_forEvent_target_action, menuNeedsUpdate, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, namesOfPromisedFilesDroppedAtDestination, netService_didNotPublish, netService_didNotResolve, netServiceBrowser_didFindDomain_moreComing, netServiceBrowser_didFindService_moreComing, netServiceBrowser_didNotSearch, netServiceBrowser_didRemoveDomain_moreComing, netServiceBrowser_didRemoveService_moreComing, netServiceBrowserDidStopSearch, netServiceBrowserWillSearch, netServiceDidResolveAddress, netServiceDidStop, netServiceWillPublish, netServiceWillResolve, NSObject__new, NSObject_alloc, NSObject_allocWithZone, NSObject_copyWithZone, NSObject_defaultPlaceholderForMarker_withBinding, NSObject_mutableCopyWithZone, numberOfItemsInComboBox, numberOfItemsInComboBoxCell, numberOfItemsInMenu, numberOfRowsInTableView, objectDidBeginEditing, objectDidEndEditing, objectSpecifier, observationInfo, observeValueForKeyPath_ofObject_change_context, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_mouseDownInHeaderOfTableColumn, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, outlineView_writeItems_toPasteboard, outlineViewColumnDidMove, outlineViewColumnDidResize, outlineViewItemDidCollapse, outlineViewItemDidExpand, outlineViewItemWillCollapse, outlineViewItemWillExpand, outlineViewSelectionDidChange, outlineViewSelectionIsChanging, panel_compareFilename_with_caseSensitive, panel_directoryDidChange, panel_isValidFilename, panel_shouldShowFilename, panel_userEnteredFilename_confirmed, panel_willExpand, panelSelectionDidChange, parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument, pasteboard_provideDataForType, pasteboardChangedOwner, performDragOperation, performSelector_withObject_afterDelay_inModes, performSelector_withObject_afterDelay, performSelector_withObject_withObject, performSelector_withObject, performSelector, performSelectorOnMainThread_withObject_waitUntilDone_modes, performSelectorOnMainThread_withObject_waitUntilDone, prepareForDragOperation, readSelectionFromPasteboard, release, removeObserver_forKeyPath, removeValueAtIndex_fromPropertyWithKey, replacementObjectForArchiver, replacementObjectForCoder, replacementObjectForKeyedArchiver, replacementObjectForPortCoder, replaceValueAtIndex_inPropertyWithKey_withValue, respondsToSelector, retain, retainCount, scriptingBeginsWith, scriptingContains, scriptingEndsWith, scriptingIsEqualTo, scriptingIsGreaterThan, scriptingIsGreaterThanOrEqualTo, scriptingIsLessThan, scriptingIsLessThanOrEqualTo, scriptingProperties, selectionShouldChangeInOutlineView, selectionShouldChangeInTableView, self, setNilValueForKey, setObservationInfo, setScriptingProperties, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, sound_didFinishPlaying, speechRecognizer_didRecognizeCommand, speechSynthesizer_didFinishSpeaking, speechSynthesizer_willSpeakPhoneme, speechSynthesizer_willSpeakWord_ofString, spellServer_didForgetWord_inLanguage, spellServer_didLearnWord_inLanguage, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_suggestCompletionsForPartialWordRange_inString_language, spellServer_suggestGuessesForWord_inLanguage, splitView_canCollapseSubview, splitView_constrainMaxCoordinate_ofSubviewAt, splitView_constrainMinCoordinate_ofSubviewAt, splitView_constrainSplitPosition_ofSubviewAt, splitView_resizeSubviewsWithOldSize, splitViewDidResizeSubviews, splitViewWillResizeSubviews, static_accessInstanceVariablesDirectly, static_automaticallyNotifiesObserversForKey, static_cancelPreviousPerformRequestsWithTarget_selector_object, static_cancelPreviousPerformRequestsWithTarget, static_classForKeyedUnarchiver, static_exposeBinding, static_initialize, static_instanceMethodForSelector, static_instanceMethodSignatureForSelector, static_instancesRespondToSelector, static_isSubclassOfClass, static_load, static_poseAsClass, static_setDefaultPlaceholder_forMarker_withBinding, static_setKeys_triggerChangeNotificationsForDependentKey, static_setVersion, static_useStoredAccessor, static_version, storedValueForKey, stream_handleEvent, superclass, tableView_acceptDrop_row_dropOperation, tableView_didClickTableColumn, tableView_didDragTableColumn, tableView_mouseDownInHeaderOfTableColumn, tableView_objectValueForTableColumn_row, tableView_setObjectValue_forTableColumn_row, tableView_shouldEditTableColumn_row, tableView_shouldSelectRow, tableView_shouldSelectTableColumn, tableView_sortDescriptorsDidChange, tableView_validateDrop_proposedRow_proposedDropOperation, tableView_willDisplayCell_forTableColumn_row, tableView_writeRows_toPasteboard, tableViewColumnDidMove, tableViewColumnDidResize, tableViewSelectionDidChange, tableViewSelectionIsChanging, tabView_didSelectTabViewItem, tabView_shouldSelectTabViewItem, tabView_willSelectTabViewItem, tabViewDidChangeNumberOfTabViewItems, takeStoredValue_forKey, takeValue_forKey, takeValue_forKeyPath, takeValuesFromDictionary, textDidBeginEditing, textDidChange, textDidEndEditing, textShouldBeginEditing, textShouldEndEditing, textStorageDidProcessEditing, textStorageWillProcessEditing, textView_clickedOnCell_inRect_atIndex, textView_clickedOnCell_inRect, textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_completions_forPartialWordRange_indexOfSelectedItem, textView_doCommandBySelector, textView_doubleClickedOnCell_inRect_atIndex, textView_doubleClickedOnCell_inRect, textView_draggedCell_inRect_event_atIndex, textView_draggedCell_inRect_event, textView_shouldChangeTextInRange_replacementString, textView_willChangeSelectionFromCharacterRange_toCharacterRange, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, toManyRelationshipKeys, toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar, toolbarAllowedItemIdentifiers, toolbarDefaultItemIdentifiers, toolbarDidRemoveItem, toolbarSelectableItemIdentifiers, toolbarWillAddItem, toOneRelationshipKeys, unableToSetNilForKey, unarchiver_cannotDecodeObjectOfClassName_originalClasses, unarchiver_didDecodeObject, unarchiver_willReplaceObject_withObject, unarchiverDidFinish, unarchiverWillFinish, unbind, undoManagerForTextView, URL_resourceDataDidBecomeAvailable, URL_resourceDidFailLoadingWithReason, URLResourceDidCancelLoading, URLResourceDidFinishLoading, validateMenuItem, validateToolbarItem, validateValue_forKey_error, validateValue_forKeyPath_error, validModesForFontPanel, valueAtIndex_inPropertyWithKey, valueClassForBinding, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, valueWithName_inPropertyWithKey, valueWithUniqueID_inPropertyWithKey, view_stringForToolTip_point_userData, willChange_valuesAtIndexes_forKey, willChangeValueForKey, window_willPositionSheet_usingRect, windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowShouldClose, windowShouldZoom_toFrame, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove, windowWillResize_toSize, windowWillReturnFieldEditor_toObject, windowWillReturnUndoManager, windowWillUseStandardFrame_defaultFrame, writeSelectionToPasteboard_types, zone
getClassName
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
public NSString()
public NSString(boolean autorelease)
NSString
class with the autorelease option on.autorelease
- public NSString(com.jniwrapper.Pointer.Void instancePtr)
NSString
class from pointer.instancePtr
- public NSString(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSString
class with static constructor.methodName
- parameters
- public NSString(java.lang.String string)
NSString
class from Java String.string
- public static NSString NSString_stringWithCharacters_length(unichar characters, com.jniwrapper.UInt16 length)
stringWithCharacters
static constructor of the NSString Objective-C class.characters
- length
- public static NSString NSString_stringWithString(java.lang.String string)
stringWithString
static constructor of the NSString Objective-C class.string
- public static NSString NSString_string()
string
static constructor of the NSString Objective-C class.public static NSString NSString_stringWithContentsOfURL(NSURL url)
stringWithContentsOfURL
static constructor of the NSString Objective-C class.url
- public static NSString NSString_stringWithFormat(java.lang.String format, com.jniwrapper.Parameter[] parameters)
stringWithFormat
static constructor of the NSString Objective-C class.format
- parameters
- public static NSString NSString_stringWithCString(com.jniwrapper.AnsiString bytes)
stringWithCString
static constructor of the NSString Objective-C class.bytes
- public static NSString NSString_stringWithContentsOfFile(java.lang.String path)
stringWithContentsOfFile
static constructor of the NSString Objective-C class.path
- public static NSString NSString_stringWithUTF8String(com.jniwrapper.AnsiString bytes)
stringWithUTF8String
static constructor of the NSString Objective-C class.bytes
- public static NSString NSString_stringWithCString_length(com.jniwrapper.AnsiString bytes, com.jniwrapper.UInt16 length)
stringWithCString
static constructor of the NSString Objective-C class.bytes
- length
- public static NSString NSString_localizedStringWithFormat(java.lang.String format, com.jniwrapper.Parameter[] parameters)
localizedStringWithFormat
static constructor of the NSString Objective-C class.format
- parameters
- public NSStringEncoding smallestEncoding()
public com.jniwrapper.Pointer.Void pathComponents()
public NSRange rangeOfCharacterFromSet_options(NSCharacterSet aSet, com.jniwrapper.UInt mask)
rangeOfCharacterFromSet()
method of the NSString Objective-C class.aSet
- mask
- public Id initWithCharacters_length(unichar characters, com.jniwrapper.UInt16 length)
initWithCharacters()
method of the NSString Objective-C class.characters
- length
- public NSComparisonResult compare(java.lang.String string)
public com.jniwrapper.Pointer.Void componentsSeparatedByString(java.lang.String separator)
public Id initWithCStringNoCopy_length_freeWhenDone(com.jniwrapper.AnsiString bytes, com.jniwrapper.UInt16 length, boolean freeBuffer)
initWithCStringNoCopy()
method of the NSString Objective-C class.bytes
- length
- freeBuffer
- public com.jniwrapper.Pointer.Void stringByExpandingTildeInPath()
public com.jniwrapper.Bool getFileSystemRepresentation_maxLength(com.jniwrapper.AnsiString cname, com.jniwrapper.UInt16 max)
getFileSystemRepresentation()
method of the NSString Objective-C class.cname
- max
- public void getCharacters(unichar buffer)
public Id initWithBytes_length_encoding(com.jniwrapper.Pointer.Void bytes, com.jniwrapper.UInt16 len, NSStringEncoding encoding)
initWithBytes()
method of the NSString Objective-C class.bytes
- len
- encoding
- public void getCString_maxLength_range_remainingRange(com.jniwrapper.AnsiString bytes, com.jniwrapper.UInt16 maxLength, NSRange aRange, NSRangePointer leftoverRange)
getCString()
method of the NSString Objective-C class.bytes
- maxLength
- aRange
- leftoverRange
- public NSRange rangeOfCharacterFromSet_options_range(NSCharacterSet aSet, com.jniwrapper.UInt mask, NSRange searchRange)
rangeOfCharacterFromSet()
method of the NSString Objective-C class.aSet
- mask
- searchRange
- public void getLineStart_end_contentsEnd_forRange(com.jniwrapper.UInt16 startPtr, com.jniwrapper.UInt16 lineEndPtr, com.jniwrapper.UInt16 contentsEndPtr, NSRange range)
getLineStart()
method of the NSString Objective-C class.startPtr
- lineEndPtr
- contentsEndPtr
- range
- public static NSStringEncoding static_defaultCStringEncoding()
public Id initWithFormat(java.lang.String format, com.jniwrapper.Parameter[] parameters)
public com.jniwrapper.Pointer.Void stringByAddingPercentEscapesUsingEncoding(NSStringEncoding enc)
public NSComparisonResult compare_options_range(java.lang.String string, com.jniwrapper.UInt16 mask, NSRange compareRange)
compare()
method of the NSString Objective-C class.string
- mask
- compareRange
- public void drawAtPoint_withAttributes(NSPoint point, NSDictionary attrs)
drawAtPoint()
method of the NSString Objective-C class.point
- attrs
- public NSComparisonResult caseInsensitiveCompare(java.lang.String string)
public unichar characterAtIndex(com.jniwrapper.UInt16 index)
public com.jniwrapper.AnsiString fileSystemRepresentation()
public NSRange rangeOfString_options_range(java.lang.String aString, com.jniwrapper.UInt16 mask, NSRange searchRange)
rangeOfString()
method of the NSString Objective-C class.aString
- mask
- searchRange
- public NSComparisonResult compare_options_range_locale(java.lang.String string, com.jniwrapper.UInt16 mask, NSRange compareRange, NSDictionary dict)
compare()
method of the NSString Objective-C class.string
- mask
- compareRange
- dict
- public void getCharacters_range(unichar buffer, NSRange aRange)
getCharacters()
method of the NSString Objective-C class.buffer
- aRange
- public com.jniwrapper.Pointer.Void precomposedStringWithCanonicalMapping()
public com.jniwrapper.UInt16 completePathIntoString_caseSensitive_matchesIntoArray_filterTypes(java.lang.String outputName, boolean flag, NSArray outputArray, NSArray filterTypes)
completePathIntoString()
method of the NSString Objective-C class.outputName
- flag
- outputArray
- filterTypes
- public com.jniwrapper.Pointer.Void precomposedStringWithCompatibilityMapping()
public com.jniwrapper.Pointer.Void dataUsingEncoding_allowLossyConversion(NSStringEncoding encoding, boolean lossy)
dataUsingEncoding()
method of the NSString Objective-C class.encoding
- lossy
- public com.jniwrapper.AnsiString UTF8String()
public void drawInRect_withAttributes(NSRect rect, NSDictionary attrs)
drawInRect()
method of the NSString Objective-C class.rect
- attrs
- public static com.jniwrapper.Pointer.Void static_availableStringEncodings()
public NSRange rangeOfComposedCharacterSequenceAtIndex(com.jniwrapper.UInt16 index)
public Id initWithCString(com.jniwrapper.AnsiString bytes)
public Id initWithCharactersNoCopy_length_freeWhenDone(unichar characters, com.jniwrapper.UInt16 length, boolean freeBuffer)
initWithCharactersNoCopy()
method of the NSString Objective-C class.characters
- length
- freeBuffer
- public com.jniwrapper.AnsiString cString()
public Id initWithBytesNoCopy_length_encoding_freeWhenDone(com.jniwrapper.Pointer.Void bytes, com.jniwrapper.UInt16 len, NSStringEncoding encoding, boolean freeBuffer)
initWithBytesNoCopy()
method of the NSString Objective-C class.bytes
- len
- encoding
- freeBuffer
- public com.jniwrapper.Pointer.Void stringByPaddingToLength_withString_startingAtIndex(com.jniwrapper.UInt16 newLength, java.lang.String padString, com.jniwrapper.UInt16 padIndex)
stringByPaddingToLength()
method of the NSString Objective-C class.newLength
- padString
- padIndex
- public Id initWithCoder(NSCoder aDecoder)
initWithCoder
in interface NSCodingProtocol
public Id mutableCopyWithZone(NSZone zone)
mutableCopyWithZone
in interface NSMutableCopyingProtocol
public com.jniwrapper.Pointer.Void stringByReplacingPercentEscapesUsingEncoding(NSStringEncoding enc)
public com.jniwrapper.Pointer.Void stringByDeletingLastPathComponent()
public Id initWithUTF8String(com.jniwrapper.AnsiString bytes)
public NSRange rangeOfString(java.lang.String aString)
public com.jniwrapper.UInt length()
public com.jniwrapper.Pointer.Void lastPathComponent()
public Id initWithFormat_arguments(java.lang.String format, com.jniwrapper.Pointer.Void argList)
initWithFormat()
method of the NSString Objective-C class.format
- argList
- public com.jniwrapper.AnsiString lossyCString()
public NSRange rangeOfCharacterFromSet(NSCharacterSet aSet)
public com.jniwrapper.UInt16 hash()
hash
in interface NSObjectProtocol
hash
in class NSObject
public com.jniwrapper.UInt16 cStringLength()
public com.jniwrapper.Pointer.Void stringByDeletingPathExtension()
public Id initWithString(java.lang.String aString)
public NSComparisonResult localizedCaseInsensitiveCompare(java.lang.String string)
public com.jniwrapper.Pointer.Void stringByAppendingString(java.lang.String aString)
public Id initWithData_encoding(NSData data, NSStringEncoding encoding)
initWithData()
method of the NSString Objective-C class.data
- encoding
- public com.jniwrapper.Pointer.Void decomposedStringWithCompatibilityMapping()
public com.jniwrapper.Bool isEqualToString(java.lang.String aString)
public com.jniwrapper.Bool hasSuffix(java.lang.String aString)
public com.jniwrapper.SingleFloat floatValue()
public com.jniwrapper.Pointer.Void stringByTrimmingCharactersInSet(NSCharacterSet set)
public NSComparisonResult compare_options(java.lang.String string, com.jniwrapper.UInt16 mask)
compare()
method of the NSString Objective-C class.string
- mask
- public com.jniwrapper.Int intValue()
public com.jniwrapper.Pointer.Void capitalizedString()
public com.jniwrapper.Bool writeToFile_atomically(java.lang.String path, boolean useAuxiliaryFile)
writeToFile()
method of the NSString Objective-C class.path
- useAuxiliaryFile
- public com.jniwrapper.Pointer.Void uppercaseString()
public com.jniwrapper.Bool hasPrefix(java.lang.String aString)
public void encodeWithCoder(NSCoder aCoder)
encodeWithCoder
in interface NSCodingProtocol
public Id copyWithZone(NSZone zone)
copyWithZone
in interface NSCopyingProtocol
public static com.jniwrapper.Pointer.Void static_localizedNameOfStringEncoding(NSStringEncoding encoding)
public com.jniwrapper.Pointer.Void stringByStandardizingPath()
public com.jniwrapper.Pointer.Void substringFromIndex(com.jniwrapper.UInt16 from)
public com.jniwrapper.Pointer.Void lowercaseString()
public com.jniwrapper.Pointer.Void stringByResolvingSymlinksInPath()
public NSSize sizeWithAttributes(NSDictionary attrs)
public void getCString_maxLength(com.jniwrapper.AnsiString bytes, com.jniwrapper.UInt16 maxLength)
getCString()
method of the NSString Objective-C class.bytes
- maxLength
- public void getParagraphStart_end_contentsEnd_forRange(com.jniwrapper.UInt16 startPtr, com.jniwrapper.UInt16 parEndPtr, com.jniwrapper.UInt16 contentsEndPtr, NSRange range)
getParagraphStart()
method of the NSString Objective-C class.startPtr
- parEndPtr
- contentsEndPtr
- range
- public com.jniwrapper.Pointer.Void substringWithRange(NSRange range)
public com.jniwrapper.Pointer.Void propertyListFromStringsFileFormat()
public com.jniwrapper.Pointer.Void dataUsingEncoding(NSStringEncoding encoding)
public NSComparisonResult localizedCompare(java.lang.String string)
public void getCString(com.jniwrapper.AnsiString bytes)
public com.jniwrapper.Pointer.Void stringsByAppendingPaths(NSArray paths)
public Id initWithFormat_locale(java.lang.String format, NSDictionary dict, com.jniwrapper.Parameter[] parameters)
initWithFormat()
method of the NSString Objective-C class.format
- dict
- parameters
- public Id initWithCString_length(com.jniwrapper.AnsiString bytes, com.jniwrapper.UInt16 length)
initWithCString()
method of the NSString Objective-C class.bytes
- length
- public com.jniwrapper.Bool isAbsolutePath()
public Id propertyList()
public static com.jniwrapper.Pointer.Void static_pathWithComponents(NSArray components)
public Id initWithFormat_locale_arguments(java.lang.String format, NSDictionary dict, com.jniwrapper.Pointer.Void argList)
initWithFormat()
method of the NSString Objective-C class.format
- dict
- argList
- public com.jniwrapper.DoubleFloat doubleValue()
public com.jniwrapper.Pointer.Void stringByAppendingPathComponent(java.lang.String str)
public Id initWithContentsOfFile(java.lang.String path)
public NSRange rangeOfString_options(java.lang.String aString, com.jniwrapper.UInt16 mask)
rangeOfString()
method of the NSString Objective-C class.aString
- mask
- public com.jniwrapper.Pointer.Void stringByAppendingPathExtension(java.lang.String str)
public com.jniwrapper.Pointer.Void stringByAppendingFormat(java.lang.String format, com.jniwrapper.Parameter[] parameters)
public com.jniwrapper.Pointer.Void stringByAbbreviatingWithTildeInPath()
public com.jniwrapper.Pointer.Void commonPrefixWithString_options(java.lang.String aString, com.jniwrapper.UInt16 mask)
commonPrefixWithString()
method of the NSString Objective-C class.aString
- mask
- public com.jniwrapper.Pointer.Void substringToIndex(com.jniwrapper.UInt16 to)
public com.jniwrapper.Bool writeToURL_atomically(NSURL url, boolean atomically)
writeToURL()
method of the NSString Objective-C class.url
- atomically
- public com.jniwrapper.Pointer.Void decomposedStringWithCanonicalMapping()
public com.jniwrapper.Bool canBeConvertedToEncoding(NSStringEncoding encoding)
public com.jniwrapper.Pointer.Void pathExtension()
public NSStringEncoding fastestEncoding()
public com.jniwrapper.Pointer.Void description()
description
in interface NSObjectProtocol
description
in class NSObject