Searched defs:str (Results 1 - 25 of 67) sorted by relevance

123

/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DStringValidator.java71 public void validate(Object str) throws InvalidConfigException argument
73 super.validate(str);
74 int length = ((String)str).length();
78 strMgr.getString("validator.invalid_value", getName(), str));
H A DFileValidator.java115 * @param str Must be the absolute path of the File that will be validated.
118 public void validate(Object str) throws InvalidConfigException argument
120 super.validate(str);
121 new StringValidator(getName()).validate(str);
122 File f = new File((String)str);
H A DRepositoryNameValidator.java89 public void validate(Object str) throws InvalidConfigException argument
91 super.validate(str);
92 checkValidName((String)str);
93 checkValidXmlToken((String)str);
94 checkValidObjectNameToken((String)str);
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/impl/
H A DWrappedSerialContext.java138 * @param str
142 private static String getURLScheme(String str) argument
146 int colon_posn = str.indexOf(':');
147 int slash_posn = str.indexOf('/');
151 return str.substring(0, colon_posn);
/glassfish-3.1.2/tests/quicklook/weld/osgiweld/src/test/
H A DOsgiWeldTestNG.java120 private boolean checkForString(String testurl, String str) throws Exception { argument
121 //System.out.println("Checking for " + str + "in " + testurl);
135 if (line.indexOf(str) != -1) {
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DCacheModule.java69 private static String trim(String str) { argument
70 if (str != null)
71 return str.trim();
72 return str;
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DUtil.java139 * @param str The url-encoded string
144 public static String urlDecode(String str) { argument
145 return urlDecode(str, null);
151 * @param str The url-encoded string
156 public static String urlDecode(String str, String enc) { argument
158 if (str == null)
167 bytes = str.getBytes(Charset.defaultCharset());
169 bytes = str.getBytes(Charsets.lookupCharset(enc));
/glassfish-3.1.2/admin/addon/src/main/java/net/munnangi/addon/
H A DAddonCompanion.java67 public String str = "M S Reddy"; field in class:AddonCompanion
/glassfish-3.1.2/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/
H A DStringStatisticImpl.java57 * @param str The current value of this statistic
64 public StringStatisticImpl(String str, String name, String unit, argument
68 strVal = str;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/logviewer/
H A DLineEndNormalizingWriter.java72 public void write(String str) throws IOException { argument
73 write(str,0,str.length());
105 public void write(String str, int off, int len) throws IOException { argument
110 char ch = str.charAt(i);
113 super.write(str,writeBegin,i-writeBegin);
120 super.write(str,writeBegin,end-writeBegin);
/glassfish-3.1.2/common/amx-config-impl/src/test/java/org/glassfish/admin/amx/test/
H A DAMXConfigTest.java62 private void _testConvertName( final String str, final String out) argument
64 assert AMXConfigImpl.convertAttributeName(str).equals(out) :
65 "Expected " + out + " for " + str;
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DHostAndPort.java78 * @param str string of the form "host:port"
80 public HostAndPort(String str) { argument
81 StringTokenizer tokenizer = new StringTokenizer(str, ":", false);
/glassfish-3.1.2/tests/quicklook/weld/extensions/src/test/
H A DExtensionsTestNG.java150 private boolean checkForString(String testurl, String str) throws Exception { argument
163 if (line.indexOf(str) != -1) {
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DStrftime.java257 protected String quote( String str, boolean insideQuotes ) { argument
258 String retVal = str;
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DArgumentTokenizer.java50 protected String str; field in class:ArgumentTokenizer
65 * @param str a string to be parsed.
67 public ArgumentTokenizer(String str) { argument
69 this.str = str;
70 maxPosition = str.length();
78 Character.isWhitespace(str.charAt(currentPosition))) {
115 char c = str.charAt(currentPosition++);
119 c = str.charAt(currentPosition++);
124 c = str
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DInstanceHandler.java165 String str = (String) oneRow.get(PROPERTY_VALUE);
166 ArrayList kv = getKeyValuePair(str);
172 public static ArrayList getKeyValuePair(String str) { argument
174 int index = str.indexOf("=");
178 key = str.substring(0,str.indexOf("="));
179 value = str.substring(str.indexOf("=")+1,str.length());
181 key = str;
[all...]
/glassfish-3.1.2/common/amx-ext-impl/src/main/java/org/glassfish/admin/amx/impl/ext/
H A DSystemStatusImpl.java144 private static String str(final Object o) method in class:SystemStatusImpl
191 str(pce.getOldValue()),
192 str(pce.getNewValue()),
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/common/util/admin/
H A DParamTokenizer.java56 protected String str; field in class:ParamTokenizer
66 * @param str a string to be parsed.
68 public ParamTokenizer(String str, char delimiter) { argument
70 this.str = str;
72 maxPosition = str.length();
121 char c = str.charAt(currentPosition++);
127 c = str.charAt(currentPosition++);
133 c = str.charAt(currentPosition++);
154 c = str
[all...]
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/util/
H A DStringUtils.java67 char str[] = inputStr.toCharArray();
68 for (int i = 0; i < str.length; i++) {
69 if (Character.isDigit(str[i]) == false) {
81 char str[] = inputStr.toCharArray();
82 for (int i = 0; i < str.length; i++) {
83 if (Character.isLetterOrDigit(str[i]) == false) {
94 static public boolean isAscii(String str) { argument
96 if (!str.equals(new String(str.getBytes(ASCII_CHARSET),
107 * @param str Strin
111 isStringInVector(String str, Vector v) argument
133 substString(StringBuffer str, String token, String newValue) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/
H A DGroupMapper.java98 for (String str : mappedGrps) {
99 getMappedGroups(group, str,result1);
105 for (String str : src) {
106 if (!dest.contains(str)) {
107 dest.add(str);
121 for (String str : list) {
122 System.out.print(str + ", ");
138 private void getMappedGroups(String group, String str, ArrayList<String> result) { argument
140 ArrayList<String> mappedGrps = groupMappingTable.get(str);
154 for (String str
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIFsize.java127 public String padLeft(String str, int maxChars) { argument
128 String result = str;
129 int charsToAdd = maxChars - str.length();
131 result = repeat(' ', charsToAdd) + str;
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/
H A DValueConstraint.java75 private String str; field in class:ValueConstraint
295 if (str == null) {
296 str = "match value = " + matchValue + " match expr = "
299 return str;
/glassfish-3.1.2/admingui/jca/src/main/java/org/glassfish/jca/admingui/handlers/
H A DConnectorsHandlers.java233 public static Map stringToMap(String str, String delimiter) { argument
235 if ( str != null && delimiter != null) {
236 StringTokenizer tokens = new StringTokenizer(str, delimiter);
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/cli/
H A DEnableMonitoring.java183 private boolean isValidString(String str) { argument
184 return (str != null && str.length() > 0);
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/beans/
H A DProperty.java134 public void dump(StringBuffer str, String indent) { argument
138 str.append(indent);
139 str.append("Description"); // NOI18N
140 str.append(indent + "\t"); // NOI18N
141 str.append("<"); // NOI18N
143 str.append((s == null ? "null" : s.trim())); // NOI18N
144 str.append(">\n"); // NOI18N
145 this.dumpAttributes(DESCRIPTION, 0, str, indent);
151 StringBuffer str = new StringBuffer();
152 str
[all...]

Completed in 825 milliseconds

123