org.esau.ptarmigan.util
Class HelperIO

java.lang.Object
  |
  +--org.esau.ptarmigan.util.HelperIO

public final class HelperIO
extends java.lang.Object

Some static methods of general use

Version:
$Revision: 1.2 $ $Date: 2002/09/16 04:05:54 $
Author:
Reed Esau

Constructor Summary
HelperIO()
           
 
Method Summary
static void safeClose(java.io.InputStream is)
          helper for closing files
static void safeClose(java.io.OutputStream os)
          helper for closing files
static void safeClose(java.io.RandomAccessFile raf)
          helper for closing files
static void safeClose(java.io.Reader reader)
          helper for closing files
static void safeClose(java.io.Writer writer)
          helper for closing files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelperIO

public HelperIO()
Method Detail

safeClose

public static void safeClose(java.io.Reader reader)
helper for closing files

safeClose

public static void safeClose(java.io.Writer writer)
helper for closing files

safeClose

public static void safeClose(java.io.InputStream is)
helper for closing files

safeClose

public static void safeClose(java.io.OutputStream os)
helper for closing files

safeClose

public static void safeClose(java.io.RandomAccessFile raf)
helper for closing files


Copyright © 2002 Reed Esau, All Rights Reserved.