com.googlecode.autoandroid.positron
Class IOUtils

java.lang.Object
  extended by com.googlecode.autoandroid.positron.IOUtils

public class IOUtils
extends Object


Constructor Summary
IOUtils()
           
 
Method Summary
static String basename(String file)
           
static void close(Closeable closeable)
           
static void cp(String source, String target)
           
static String dirname(String file)
           
static String join(String... parts)
           
static String[] ls(String dir, String pattern)
           
static void mv(String source, String target)
           
static int peek(Reader in)
           
static int read(InputStream in)
           
static int read(Reader in)
           
static boolean rm(String file)
           
static String toString(InputStream in)
           
static void write(OutputStream out, int c)
           
static void write(Writer out, int c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOUtils

public IOUtils()
Method Detail

cp

public static void cp(String source,
                      String target)

rm

public static boolean rm(String file)

mv

public static void mv(String source,
                      String target)

ls

public static String[] ls(String dir,
                          String pattern)

basename

public static String basename(String file)

dirname

public static String dirname(String file)

join

public static String join(String... parts)

read

public static int read(InputStream in)

toString

public static String toString(InputStream in)

write

public static void write(OutputStream out,
                         int c)

read

public static int read(Reader in)

write

public static void write(Writer out,
                         int c)

close

public static void close(Closeable closeable)

peek

public static int peek(Reader in)