Package org.jbundle.jbackup.util
Class Util
- java.lang.Object
-
- org.jbundle.jbackup.util.Util
-
public class Util extends Object
Utilities.- Version:
- 1.0.0
- Author:
- Don Corley don@tourgeek.com
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG
-
Constructor Summary
Constructors Constructor Description Util()Creates new Util
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcopyStream(InputStream inStream, OutputStream outStream)static intcopyStream(InputStream inStream, OutputStream outStream, boolean bCountInBytes, boolean bCountOutBytes)static StringdateToString(Date date)static FilenameFiltermakeFilter(Properties properties)static ObjectmakeObjectFromClassName(String interfaceName, String strPackage, String strClassName)static DatestringToDate(String strDate)
-
-
-
Field Detail
-
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
-
-
Method Detail
-
copyStream
public static int copyStream(InputStream inStream, OutputStream outStream) throws IOException
- Throws:
IOException
-
copyStream
public static int copyStream(InputStream inStream, OutputStream outStream, boolean bCountInBytes, boolean bCountOutBytes) throws IOException
- Throws:
IOException
-
makeObjectFromClassName
public static Object makeObjectFromClassName(String interfaceName, String strPackage, String strClassName)
-
makeFilter
public static FilenameFilter makeFilter(Properties properties)
-
-