From 98580bf1f2e398ad3a9e9271d822236379f69cb8 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Tue, 19 Aug 2014 01:14:54 +0000 Subject: [PATCH] in progress --- .../src/org/forester/archaeopteryx/AptxUtil.java | 25 +------------------- 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java index d6c980a..38ac2b1 100644 --- a/forester/java/src/org/forester/archaeopteryx/AptxUtil.java +++ b/forester/java/src/org/forester/archaeopteryx/AptxUtil.java @@ -947,30 +947,7 @@ public final class AptxUtil { } } - // See: http://www.xml.nig.ac.jp/tutorial/rest/index.html#2.2 - // static void openDDBJRest() throws IOException { - // //set URL - // URL url = new URL( "http://xml.nig.ac.jp/rest/Invoke" ); - // //set parameter - // String query = "service=GetEntry&method=getDDBJEntry&accession=AB000100"; - // //make connection - // URLConnection urlc = url.openConnection(); - // //use post mode - // urlc.setDoOutput( true ); - // urlc.setAllowUserInteraction( false ); - // //send query - // PrintStream ps = new PrintStream( urlc.getOutputStream() ); - // ps.print( query ); - // ps.close(); - // //get result - // BufferedReader br = new BufferedReader( new InputStreamReader( - // urlc.getInputStream() ) ); - // String l = null; - // while ( ( l = br.readLine() ) != null ) { - // System.out.println( l ); - // } - // br.close(); - // } + public static enum GraphicsExportType { BMP( "bmp" ), GIF( "gif" ), JPG( "jpg" ), PDF( "pdf" ), PNG( "png" ), TIFF( "tif" ); -- 1.7.10.2