Searched refs:string (Results 1 - 25 of 29) sorted by relevance

12

/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStringParser.java63 * Utility class for string parsing that is higher performance than
65 * by setting the string, and then using the <code>findXxxx()</code> and
81 * Construct a string parser with no preset string to be parsed.
91 * Construct a string parser that is initialized to parse the specified
92 * string.
94 * @param string The string to be parsed
96 public StringParser(String string) { argument
99 setString(string);
136 private String string = null; field in class:StringParser
179 setString(String string) argument
[all...]
/glassfish-3.1.2/webservices/soap-tcp/src/main/java/org/glassfish/webservices/transport/tcp/
H A DServletFakeArtifactSet.java122 public long getDateHeader(final String string) { argument
126 public String getHeader(final String string) { argument
130 public Enumeration getHeaders(final String string) { argument
138 public int getIntHeader(final String string) { argument
166 public boolean isUserInRole(final String string) { argument
214 public Object getAttribute(final String string) { argument
226 public void setCharacterEncoding(final String string) throws UnsupportedEncodingException { argument
241 public String getParameter(final String string) { argument
249 public String[] getParameterValues(final String string) { argument
285 public void setAttribute(final String string, fina argument
288 removeAttribute(final String string) argument
303 getRequestDispatcher(final String string) argument
307 getRealPath(final String string) argument
391 containsHeader(final String string) argument
395 encodeURL(final String string) argument
399 encodeRedirectURL(final String string) argument
403 encodeUrl(final String string) argument
407 encodeRedirectUrl(final String string) argument
411 sendError(final int i, final String string) argument
417 sendRedirect(final String string) argument
420 setDateHeader(final String string, final long l) argument
423 addDateHeader(final String string, final long l) argument
426 setHeader(final String string, final String string0) argument
429 addHeader(final String string,final String string0) argument
432 setIntHeader(final String string, final int i) argument
435 addIntHeader(final String string, final int i) argument
441 setStatus(final int i, final String string) argument
460 setCharacterEncoding(final String string) argument
466 setContentType(final String string) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DEnvironmentProperty.java108 ** Construct an environment property if type String and empty string value and no description.
303 ** Sets the value of the environment property to the given string.
348 private Object getObjectFromString(String string, Class type) { argument
350 Object obj = getValueObjectUsingAllowedTypes(string);
353 if (string == null || ("".equals(string) && !type.equals(String.class))) {
358 return string;
360 return Boolean.valueOf(string);
362 return Integer.valueOf(string);
364 return new Double(string);
396 getValueObjectUsingAllowedTypes(String string) argument
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/
H A DXmlInputObject.java65 * Construct a XmlInputObjectfrom a XML text string.
66 * @param source A XML text string
68 * string or a duplicated key.
83 * @throws InputException If there is a syntax error in the source string
102 * @param x The XmlInputReader containing the source string.
114 String string;
136 string = reader.nextCDATA();
137 if (string.length() > 0) {
138 context.put("content", string);
191 string
[all...]
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/
H A DUtil.java170 * Removes any hypens ( - ) from the given string.
173 * @param string the input string
176 public static String eleminateHypen(String string) { argument
177 if (!(string == null || string.length() <= 0)) {
178 int index = string.indexOf('-');
181 string = string.substring(1);
183 if (index == (string
196 decode(String string) argument
213 upperCaseFirstLetter(String string) argument
[all...]
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/extensibility/
H A DRandomElement.java57 public void setAttr1(String string); argument
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/
H A DStringHelper.java67 /** Convert an array of objects into a separated string. This method
73 * @return a string representing the expanded list.
94 /** Convert an array of objects into a separated string using the default
100 * @return a string representing the expanded list.
108 /** Convert an array of objects into a separated string using the specified
113 * @return a string representing the expanded list.
121 /** Convert an array of objects into a separated string using the default
125 * @return a string representing the expanded list.
133 /** Convert a separated string to an array of strings
134 * @param list The string representin
237 replaceFirst(String string, String oldString, String newString) argument
261 replace(String string, String oldString, String newString) argument
[all...]
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/common/
H A DJsonActionReporter.java182 * Produce a string in double quotes with backslash sequences in all the
185 private String quote(String string) { argument
186 if (string == null || string.length() == 0) {
193 int len = string.length();
200 c = string.charAt(i);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DJSONUtil.java425 * <p> This function will process a JSON string and convert it into
614 private String string; field in class:JSONUtil.JsonChars
623 string = json;
624 len = string.length();
631 return string.charAt(loc-1);
638 return string.charAt(loc++);
639 //return (loc<len) ? string.charAt(loc++) : null;
664 return string.substring(before, after - before);
688 return !hasNext() || (string.charAt(loc-1) == endContext.peek());
H A DRestUtil.java565 * Converts the first letter of the given string to Uppercase.
567 * @param string the input string
568 * @return the string with the Uppercase first letter
570 public static String upperCaseFirstLetter(String string) { argument
571 if (string == null || string.length() <= 0) {
572 return string;
574 return string.substring(0, 1).toUpperCase(new Locale("UTF-8")) + string
[all...]
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployment/client/
H A DDFDeploymentStatus.java238 * @param string for a meaningful i18ned stage description
240 public void setStageDescription(String string) { argument
241 stageDescription = string;
245 * @param string for a meaningful i18ned reason for stage
248 public void setStageStatusMessage(String string) { argument
249 stageStatusMessage = string;
368 * @return a meaningful string about mysefl
494 * Prints the status string and/or status exception
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/
H A DVirtualServer.java326 for (String string : strings) {
327 set.add(string.trim());
337 for (String string : strings) {
338 set.add(string.trim());
480 * The third component, reason, is optional and specifies the text of the reason string
H A DConfigBeansUtilities.java110 * This method is used to convert a string value to boolean.
133 * @param sn the string denoting name of the server
398 for (String string : list) {
402 builder.append(string);
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/provider/
H A DProviderUtil.java87 * Produce a string in double quotes with backslash sequences in all the
90 public static String quote(String string) { argument
91 if (string == null || string.length() == 0) {
98 int len = string.length();
105 c = string.charAt(i);
146 static protected final String slashToDash(String string) { argument
147 if (string != null && !string.isEmpty()) {
148 return string
[all...]
/glassfish-3.1.2/persistence/cmp/utility/src/main/java/com/sun/jdo/spi/persistence/utility/generator/io/
H A DIOJavaClassWriter.java153 * @param type A string representing the type of this field.
154 * @param initialValue A string representing the initial value of
239 * @param returnType A string representing the return type of this method.
270 /** Returns a string representation of this object.
271 * @return The string representation of the generated class.
350 static private void writeListElement (int i, int count, String string, argument
356 writerHelper.write(indent, string);
358 writerHelper.writeln(indent, string + COMMA_SEPARATOR);
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Djava_md.unix.h45 #include <string.h>
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/antlr/
H A DCodeGeneration.g157 * (string methods startsWith and endsWith).
1637 : #( op1:STARTS_WITH string:.
1641 pattern = (JQLAST)string.getNextSibling();
1646 if (string.getType() == FIELD_ACCESS)
1649 String fieldName = fieldAccess(string);
1658 expression(string);
1673 expression(string);
1684 : #( op1:ENDS_WITH string:.
1688 if (string.getType() == FIELD_ACCESS)
1691 String fieldName = fieldAccess(string);
[all...]
H A DSemantic.g398 * Form a string representation of a dot expression and append to given
667 protected JQLAST analyseStringCall(JQLAST dot, JQLAST string, JQLAST method, JQLAST args)
676 dot.setFirstChild(string);
677 string.setNextSibling(firstArg);
684 dot.setFirstChild(string);
685 string.setNextSibling(firstArg);
692 dot.setFirstChild(string);
693 string.setNextSibling(firstArg);
700 dot.setFirstChild(string);
701 string
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/
H A DReportHandler.java343 String string = "";
345 string = string + (String) en.nextElement() + "\n"; // NOI18N
347 Element testDescr = getTextNode(TEST_DESC, string);
/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Dzutil.h20 # include <string.h>
H A Dminigzip.c22 # include <string.h>
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/deployment/annotation/handlers/
H A DConnectorAnnotationHandler.java283 for (String string : stringArray) {
284 result.append(string);
/glassfish-3.1.2/tests/community/web/jruby/helloapp/public/javascripts/
H A Dcontrols.js75 if(typeof(this.options.tokens) == 'string')
376 // search anywhere in the string, additionally set
586 hasHTMLLineBreaks: function(string) {
588 return string.match(/<br/i) || string.match(/<p>/i);
590 convertHTMLLineBreaks: function(string) {
591 return string.replace(/<br>/gi, "\n").replace(/<br\/>/gi, "\n").replace(/<\/p>/gi, "\n").replace(/<p>/gi, "");
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIServletExternalResolver.java281 //apache displays this as an empty string rather than (none)
383 protected String nullToEmptyString(String string) { argument
384 String retVal = string;
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/
H A DNetUtils.java52 private static void printd(String string) { argument
54 System.out.println(string);
72 * hostname can also be an IP address in string form.

Completed in 466 milliseconds

12