org.onebusaway.utility
Class IOLibrary

java.lang.Object
  extended by org.onebusaway.utility.IOLibrary

public class IOLibrary
extends Object


Constructor Summary
IOLibrary()
           
 
Method Summary
static BufferedReader getFileAsBufferedReader(File path)
           
static InputStream getFileAsInputStream(File path)
           
static OutputStream getFileAsOutputStream(File file)
           
static Reader getFileAsReader(File path)
           
static Writer getFileAsWriter(File file)
           
static BufferedReader getPathAsBufferedReader(String path)
           
static InputStream getPathAsInputStream(String path)
           
static Reader getPathAsReader(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOLibrary

public IOLibrary()
Method Detail

getPathAsBufferedReader

public static BufferedReader getPathAsBufferedReader(String path)
                                              throws IOException
Throws:
IOException

getPathAsReader

public static Reader getPathAsReader(String path)
                              throws IOException
Throws:
IOException

getPathAsInputStream

public static InputStream getPathAsInputStream(String path)
                                        throws IOException
Throws:
IOException

getFileAsBufferedReader

public static BufferedReader getFileAsBufferedReader(File path)
                                              throws IOException
Throws:
IOException

getFileAsReader

public static Reader getFileAsReader(File path)
                              throws IOException
Throws:
IOException

getFileAsInputStream

public static InputStream getFileAsInputStream(File path)
                                        throws IOException
Throws:
IOException

getFileAsOutputStream

public static OutputStream getFileAsOutputStream(File file)
                                          throws IOException
Throws:
IOException

getFileAsWriter

public static Writer getFileAsWriter(File file)
                              throws IOException
Throws:
IOException


Copyright © 2011 OneBusAway. All Rights Reserved.