static public List < Record > readTable ( String urlString , String format , int maxLines ) throws IOException , NumberFormatException { InputStream ios ; if ( urlString . startsWith ( "http:" ) ) { URL url = new URL ( urlString ) ; ios = url . openStream ( ) ; } else { ios = new FileInputStream ( urlString ) ; } return readTable ( ios , format , maxLines ) ; }
Reads a URL or file in as a table .