00001 /*! 00002 * @file String.java 00003 * 00004 * @brief Sample subset of @c @b java.lang.String native 00005 * methods 00006 * 00007 * The full implementation of this source file should contain each and 00008 * every native method that is declared by the implmentation and it 00009 * should be stored in a shared archive along with the other classes 00010 * of this Java package's native methods. 00011 * 00012 * 00013 * @section Control 00014 * 00015 * \$URL: https://svn.apache.org/path/name/String.java $ \$Id: String.java 0 09/28/2005 dlydick $ 00016 * 00017 * Copyright 2005 The Apache Software Foundation 00018 * or its licensors, as applicable. 00019 * 00020 * Licensed under the Apache License, Version 2.0 ("the License"); 00021 * you may not use this file except in compliance with the License. 00022 * You may obtain a copy of the License at 00023 * 00024 * http://www.apache.org/licenses/LICENSE-2.0 00025 * 00026 * Unless required by applicable law or agreed to in writing, 00027 * software distributed under the License is distributed on an 00028 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 00029 * either express or implied. 00030 * 00031 * See the License for the specific language governing permissions 00032 * and limitations under the License. 00033 * 00034 * @version \$LastChangedRevision: 0 $ 00035 * 00036 * @date \$LastChangedDate: 09/28/2005 $ 00037 * 00038 * @author \$LastChangedBy: dlydick $ 00039 * Original code contributed by Daniel Lydick on 09/28/2005. 00040 * 00041 * @section Reference 00042 * 00043 */ 00044 00045 package java.lang; 00046 00047 /*! 00048 * @brief Java class definition of @c @b java.lang.String, 00049 * the Java pseudo-primative class for defining and manipulating 00050 * variable-length groups of characters. 00051 * 00052 * The class @c @b java.lang.String contains fields of multiple 00053 * Unicode (jchar) characters and methods for manipulating them. 00054 * As a class that contains @c @b native calls into the JVM, 00055 * this stub sample implementation is intended to be filled out into 00056 * the complete class definition. 00057 * 00058 */ 00059 public class String 00060 { 00061 /*! 00062 * @brief Native definition 00063 * for @c @b java.lang.String.registerNatives() 00064 * 00065 * @verbatim 00066 Class: java.lang.String 00067 Method: registerNatives 00068 Signature: ()V 00069 @endverbatim 00070 * 00071 */ 00072 native private static void registerNatives(); 00073 00074 00075 /*! 00076 * @brief Native definition 00077 * for @c @b java.lang.String.unregisterNatives() 00078 * 00079 * @verbatim 00080 Class: java.lang.String 00081 Method: unregisterNatives 00082 Signature: ()V 00083 @endverbatim 00084 * 00085 */ 00086 native private static void unregisterNatives(); 00087 00088 00089 /*! 00090 * @brief Native definition 00091 * for @c @b java.lang.String.intern() 00092 * 00093 * @verbatim 00094 Class: java.lang.String 00095 Method: intern 00096 Signature: ()Ljava/lang/String; 00097 @endverbatim 00098 * 00099 */ 00100 native public String intern(); 00101 00102 } /* END of java.lang.String */ 00103 00104 00105 /* EOF */ 00106