Searched refs:line (Results 1 - 25 of 134) sorted by relevance

123456

/glassfish-3.1.2/tests/logmonitor/
H A Dmissing-msg-id-finder.rb52 IO.foreach("./message-key-excl.txt") { |line|
53 $excl_list.push line.chomp if line =~ /^[\w\-].*$*/
79 # open each msg properties file and read line by line
81 msgfile.each_line { |line|
82 # puts "line: #{line}"
83 if (needs_id(msgfile, line) == true)
84 hits << line
[all...]
H A Dmessage-keys-used-checker.rb96 IO.foreach(f) {|line|
97 # if line contains a message key
98 unless (line.match(regex).nil?)
102 case line
103 # if a line starts with a double quote or opening bracket '(' it is
104 # probably a continuance of the previous line
106 line = prev_line.chomp + line.lstrip
107 #puts "double line: #{line}"
[all...]
H A DFilter.java96 String line = null;
98 while ((line = rdr.readLine()) != null) {
99 //System.out.println("\n..."+line);
100 if (line.contains(":")
101 && line.contains("=")
102 && !line.startsWith("#")
103 && !line.contains(".cause")
104 && !line.contains(".check")) {
105 StringTokenizer st = new StringTokenizer(line, "=");
138 String line
[all...]
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DLineReaderImpl.java47 Reads a line from the specified input stream, outputs
62 final StringBuffer line = new StringBuffer();
74 if (line.length() != 0)
76 // read a line but saw EOF before a newline
88 line.append(theChar);
91 return (line.toString().trim());
/glassfish-3.1.2/tests/embedded/maven-plugin/queryString/src/test/java/org/glassfish/tests/queryString/
H A DWebTest.java84 String line = null;
86 while ((line = in.readLine()) != null) {
87 index = line.indexOf(result);
88 System.out.println("[Server response]" + line);
90 int pos = line.indexOf("Location");
92 contextPath = line.substring(pos + "Location:".length()).trim();
101 while ((line = in.readLine()) != null) {
102 index = line.indexOf(result);
103 System.out.println("[Redirect response]" + line);
106 index = line
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DSolarisSystemEnvironment.java86 String line = lines[i].trim();
87 if (line.startsWith(token)) {
88 return line.substring(line.indexOf(token) + token.length()).trim();
100 String line = lines[i].trim();
101 if (line.startsWith(token)) {
102 return line.substring(line.indexOf(token) + token.length()).trim();
115 String line = lines[i].trim();
116 if (line
[all...]
H A DLinuxSystemEnvironment.java100 for (String line : contents.split("\n")) {
101 if (line.contains("vendor_id")) {
102 String[] ss = line.split(":", 2);
210 String line = s.toLowerCase();
212 if (line.contains(target)) {
214 int indx = line.indexOf(key) + key.length();
215 if (line.contains(key) && indx < line.length()) {
216 return line.substring(indx).trim();
218 String[] ss = line
[all...]
H A DWindowsSystemEnvironment.java124 for (String line : res.split("\n")) {
125 line = line.trim();
126 if (line.equals("")) {
129 set.add(line);
184 String line = null;
185 while ((line = in.readLine()) != null) {
186 line = line.trim();
187 if (line
[all...]
/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()) {
/glassfish-3.1.2/tests/quicklook/admincli/src/test/admincli/util/
H A DStreamGobbler.java72 String line=null;
73 while ( (line = br.readLine()) != null)
74 line = null;
75 // System.out.println(type + ">" + line);
/glassfish-3.1.2/tests/quicklook/web/jruby/src/test/
H A DJRubyTestNG.java89 String line;
92 while (( line = in.readLine() ) != null ) {
93 //System.out.println("The line read is: " + line);
94 if(line.indexOf("Command deploy failed")!=-1){
96 testLine = line;
125 String line = null;
128 while ((line = input.readLine()) != null) {
129 //System.out.println(line);
130 if(line
[all...]
/glassfish-3.1.2/tests/community/web/helloworld/src/test/
H A DHelloJSPTestNG.java95 String line = null;
99 while ((line = input.readLine()) != null) {
100 if(line.indexOf(EXPECTED_RESPONSE)!=-1){
102 testLine = line;
133 String line = null;
136 while ((line = input.readLine()) != null) {
137 echo(line);
138 if(line.indexOf("Your Application Server is now running")!=-1){
140 testLine = line;
168 String line
[all...]
/glassfish-3.1.2/tests/quicklook/web/helloworld/src/test/
H A DHelloJSPTestNG.java95 String line = null;
99 while ((line = input.readLine()) != null) {
100 if(line.indexOf(EXPECTED_RESPONSE)!=-1){
102 testLine = line;
133 String line = null;
136 while ((line = input.readLine()) != null) {
137 if(line.indexOf("now running")!=-1){
139 testLine = line;
167 String line = null;
170 while ((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();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DPasswdUserDatabase.java181 // Accumulate the next line
189 String line = buffer.toString();
190 if (line.length() < 1)
193 // Parse the line into constituent elements
200 int colon = line.indexOf(':');
202 token = line.substring(0, colon);
203 line = line.substring(colon + 1);
205 token = line;
206 line
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/sessionDestroyed/src/test/java/org/glassfish/tests/sessionDestroyed/
H A DWebTest.java80 String line = null;
82 while ((line = in.readLine()) != null) {
83 index = line.indexOf(result);
84 System.out.println(line);
86 index = line.indexOf(":");
87 String status = line.substring(index+1);
/glassfish-3.1.2/tests/embedded/maven-plugin/standalonewar/src/test/java/org/glassfish/tests/standalonewar/
H A DWebTest.java80 String line = null;
82 while ((line = in.readLine()) != null) {
83 index = line.indexOf(result);
84 System.out.println(line);
86 index = line.indexOf(":");
87 String status = line.substring(index+1);
/glassfish-3.1.2/tests/embedded/maven-plugin/webservice/src/test/java/org/glassfish/tests/standalonewar/
H A DWebTest.java82 String line = null;
84 while ((line = in.readLine()) != null) {
85 System.out.println(line);
86 index = line.indexOf(result);
88 index = line.indexOf(":");
89 String status = line.substring(index+1);
/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/tests/community/jdbc/jdbcusertx/src/test/
H A DJdbcUserTxTestNG.java91 String line = null;
96 while ((line = input.readLine()) != null) {
97 // echo(line);
98 if(line.indexOf(EXPECTED_RESPONSE)!=-1 &&
99 line.indexOf(EXPECTED_RESPONSE2)!=-1){
100 testLine = line;
132 String line = null;
136 while ((line = input.readLine()) != null) {
137 // echo(line);
138 if(line
[all...]
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/test/
H A DJdbcUserTxTestNG.java91 String line = null;
96 while ((line = input.readLine()) != null) {
97 // echo(line);
98 if(line.indexOf(EXPECTED_RESPONSE)!=-1 &&
99 line.indexOf(EXPECTED_RESPONSE2)!=-1){
100 testLine = line;
132 String line = null;
136 while ((line = input.readLine()) != null) {
137 // echo(line);
138 if(line
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/applicationDispatcher/src/test/java/org/glassfish/tests/applicationDispatcher/
H A DWebTest.java80 String line = null;
82 while ((line = in.readLine()) != null) {
83 index = line.indexOf("::");
84 System.out.println(lineNum+": "+line);
86 String status = line.substring(index+2);
/glassfish-3.1.2/tests/embedded/maven-plugin/websockets/src/test/java/org/glassfish/tests/standalonewar/
H A DWebTest.java80 String line = null;
82 while ((line = in.readLine()) != null) {
83 index = line.indexOf(result);
85 index = line.indexOf(":");
86 String status = line.substring(index+1);
/glassfish-3.1.2/tests/quicklook/wsit/jaxbosgi/src/test/
H A DJaxbOsgiTestNG.java71 String line = null;
73 while ((line = input.readLine()) != null) {
74 if (line.indexOf(EXPECTED_RESPONSE) != -1) {
75 result = line.substring(line.indexOf(EXPECTED_RESPONSE) + EXPECTED_RESPONSE.length());
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/
H A DModJkMX.java237 String line=is.readLine();
238 if( line==null ) break;
239 line=line.trim();
240 if( "".equals(line) || line.startsWith("#") ) continue;
244 log.finest("Read " + line);
246 if(line.startsWith( "[")) {
247 name=line.substring(1);
253 int idx=line
[all...]

Completed in 121 milliseconds

123456