Searched defs:line (Results 1 - 19 of 19) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/
H A DRegexUtil.java53 public static String globToRegex(String line) { argument
54 line = line.trim();
55 int strLen = line.length();
59 for (char currentChar : line.toCharArray()) {
H A DStringUtils.java52 public static final String NEWLINE = System.getProperty("line.separator");
285 // first -- to line things up nicely -- find the longest key...
416 * Splits the string <code>line</code> into individual string elements
422 * @param line The string to split
426 public static List<String> parseStringList(String line) { argument
427 return parseStringList(line, null);
435 * Splits the string <code>line</code> into individual string elements
441 * @param line The string to split
448 public static List<String> parseStringList(String line, String sep) { argument
449 if (line
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DPager.java59 private String line; field in class:Pager
88 out.write(line);
97 * @return true iff there is at least one line left to be copied
100 return line != null;
104 * Get the next line and copy it inot the internal buffer so's
108 line = in.readLine();
H A DMultimodeCommand.java165 String line = null;
179 if ((line = reader.readLine()) == null) {
185 if (line.trim().startsWith("#")) // ignore comment lines
190 args = getArgs(line);
214 * command line options don't effect other commands.
292 private String[] getArgs(String line) argument
295 ArgumentTokenizer t = new ArgumentTokenizer(line);
H A DListCommandsCommand.java125 logger.info(""); // a blank line between them
159 private String globToRegex(String line) { argument
160 line = line.trim();
161 int strLen = line.length();
164 if (line.startsWith("*")) {
165 line = line.substring(1);
168 if (line.endsWith("*")) {
169 line
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/test/
H A DTokenReplacementTester.java72 String line = null;
73 while ((line = reader.readLine()) != null) {
74 final TokenValue tv = getTokenValue(line);
91 private TokenValue getTokenValue(String line) { argument
93 final StringTokenizer parser = new StringTokenizer(line, delim);
104 * @param args the command line arguments
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbqlc/
H A DErrorMsg.java69 * @param line line number
74 public static void error(int line, int col, String text) argument
78 if (line > 1) {
79 // include line and column info
80 Object args[] = {new Integer(line), new Integer(col), text};
123 * @param line line number
129 public static void unsupported(int line, int col, String text) argument
133 if (line >
[all...]
H A DEJBQLAST.java59 * <li> line info
77 /** The line info */
78 protected int line = 0; field in class:EJBQLAST
130 public void setLine(int line) argument
132 this.line = line;
138 return line;
178 // line/column info
194 * The method dumps each ast node on a separate line.
234 * the fields type, text, line, colum
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/jqlc/
H A DErrorMsg.java96 * @param line line number
100 public void error(int line, int col, String msg) argument
104 if (line > 1)
106 // include line and column info
107 Object args[] = {context, new Integer(line), new Integer(col), msg};
130 * @param line line number
134 public void unsupported(int line, int col, String msg) argument
138 if (line >
[all...]
H A DJQLAST.java61 * - line info
80 protected int line = 0; field in class:JQLAST
161 public void setLine(int line) argument
163 this.line = line;
168 return line;
225 // line/column info
244 * The method dumps each ast node on a separate line.
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/
H A DASenvPropertyReader.java247 String line;
248 while ((line = reader.readLine()) != null) {
249 setProperty(line);
268 * Parses a single line of asenv.conf or asenv.bat and attempt to
270 * property is already set (e.g. via -D on the command line), then
273 * @param line
276 private void setProperty(String line) { argument
277 int pos = line.indexOf("=");
280 String lhs = (line.substring(0, pos)).trim();
281 String rhs = (line
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRelayService.java104 String line;
105 while ((line = br.readLine())!= null) {
106 if (line.indexOf(ENV_TOKEN) >= 0)
107 line = line.replaceAll(ENV_TOKEN, env);
108 if (line.indexOf(TAG_TOKEN) >= 0)
109 line = line.replaceAll(TAG_TOKEN, tags);
110 if (line.indexOf(PRODUCTNAME_TOKEN) >= 0)
111 line
119 replaceStringTokens(String line) argument
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ssl/
H A DJarSigner.java295 StringBuilder line = new StringBuilder();
298 line.append(attr.getKey().toString()).append(": ").append((String) attr.getValue());
299 appendLine(manifestEntry, line);
300 line.setLength(0);
307 * Process a long manifest line and add continuation if required
310 * @param line - The line to be processed.
311 * @return sb with the line added.
313 private static StringBuilder appendLine(StringBuilder sb, StringBuilder line) { argument
315 for (int end = 70; line
[all...]
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/
H A DLogFile.java110 // Get a line from the log file
111 String line = reader.readLine();
112 if (line == null) {
115 if (!line.startsWith(RECORD_BEGIN_MARKER)) {
120 while (!line.endsWith(RECORD_END_MARKER)) {
121 line += "\n" + reader.readLine();
126 results.add(new LogEntry(line,
351 public LogEntry(String line, long recordNumber) { argument
352 if (!line.startsWith(RECORD_BEGIN_MARKER)) {
355 "': '" + line
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DGuiUtil.java507 * Splits the string <code>line</code> into individual string elements
513 * @param line The string to split
520 public static List parseStringList(String line, String sep) { argument
522 if (line == null) {
528 st = new StringTokenizer(line);
530 st = new StringTokenizer(line, sep);
544 public static String removeToken(String line, String sep, String remove) { argument
545 if (line == null) {
551 st = new StringTokenizer(line);
554 st = new StringTokenizer(line, se
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/servlets/
H A DCGIServlet.java753 /** cgi command's command line parameters */
836 // The parsed query string becomes the command line parameters
1503 /** command line parameters to be passed to the invoked script */
1529 * @param params ArrayList with the script's query command line
1634 * the script-URI as command-line arguments to scripts if it
1636 * command-line arguments can be generated in an unambiguous
1781 String line = null;
1782 while (((line = cgiHeaderReader.readLine()) != null)
1783 && !("".equals(line))) {
1785 log("runCGI: addHeader(\"" + line
1889 getSCFromHttpStatusLine(String line) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/
H A DFileUtils.java643 * the platform's line separator.
646 * @return String containing the absolute paths of the files with the line separator between them
650 String lineSep = System.getProperty("line.separator");
983 /** Appends the given line at the end of given text file. If the given
987 * @param line the line to append to
994 public static void appendText(String fileName, String line) throws argument
1001 file.writeBytes(line);
1040 String line = null;
1042 while ( (line
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/provider/
H A DPolicyParser.java181 * Treat end-of-line as white space, not as a token
1211 public ParsingException(int line, String msg) { argument
1212 super("line " + line + ": " + msg);
1214 (ResourcesMgr.getString("line number: msg"));
1215 Object[] source = {Integer.valueOf(line), msg};
1219 public ParsingException(int line, String expect, String actual) { argument
1220 super("line " + line + ": expected [" + expect +
1223 ("line numbe
[all...]
/glassfish-3.1.2/tests/jbi/lib/
H A Dreporter.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/ejte/ com/sun/ejte/ccl/ ...

Completed in 143 milliseconds