티스토리 뷰
반응형
Taverna에 없는 유용한 WSDL들
http://phoebus.cs.man.ac.uk:1977/axis/services http://192.168.100.205:8080/JAX-WS20Project/runNCBIBlast?wsdl
http://xml.nig.ac.jp/wsdl/Blast.wsdl
http://phoebus.cs.man.ac.uk:8081/axis/EnsemblListner.jws?wsdl
WorkFlow 파일들이 쌓인곳
http://www.cs.man.ac.uk/~fisherp/workflows.html
example0-\n\n)
import java.util.*;
StringTokenizer = tk = new StringTokenizer(input,">");
int tkCount = tk.countTokens();
String output="";
for(i=0; i < tkCount ; i++){
output = output + ">" + tk.nextToken() + "\n";
}
example1)
String[] split = input.split("\n");
Vector nonEmpty = new Vector();
for (int i = 0; i < split.length; i++)
{
String trimmed = split[i].trim();
String[] trimmedSplit = trimmed.split("\t");
if (trimmedSplit.length == 2)
{
nonEmpty.add(trimmedSplit[1].trim());
}
}
String output = "";
for (int i = 0; i < nonEmpty.size(); i++)
{
output = output + (String) (nonEmpty.elementAt(i) + "\n");
}
example2)
import java.util.*;
http://phoebus.cs.man.ac.uk:1977/axis/services http://192.168.100.205:8080/JAX-WS20Project/runNCBIBlast?wsdl
http://xml.nig.ac.jp/wsdl/Blast.wsdl
http://phoebus.cs.man.ac.uk:8081/axis/EnsemblListner.jws?wsdl
WorkFlow 파일들이 쌓인곳
http://www.cs.man.ac.uk/~fisherp/workflows.html
example0-\n\n)
import java.util.*;
StringTokenizer = tk = new StringTokenizer(input,">");
int tkCount = tk.countTokens();
String output="";
for(i=0; i < tkCount ; i++){
output = output + ">" + tk.nextToken() + "\n";
}
example1)
String[] split = input.split("\n");
Vector nonEmpty = new Vector();
for (int i = 0; i < split.length; i++)
{
String trimmed = split[i].trim();
String[] trimmedSplit = trimmed.split("\t");
if (trimmedSplit.length == 2)
{
nonEmpty.add(trimmedSplit[1].trim());
}
}
String output = "";
for (int i = 0; i < nonEmpty.size(); i++)
{
output = output + (String) (nonEmpty.elementAt(i) + "\n");
}
example2)
import java.util.*;
public class TokenEx {
public static void main(String[] args) {
String str = "홍길동\\한양대학교\\비행청소년";
StringTokenizer tokenizer = new StringTokenizer(str,"\\");
int tokenCount = tokenizer.countTokens();
//System.out.println(tokenCount);
String[] arr = new String[tokenCount];
int i = 0;
while(tokenizer.hasMoreTokens() == true){
arr[i] = tokenizer.nextToken();
System.out.println(arr[i]);
i++;
}
}
}반응형
공지사항
최근에 올라온 글