com.intel.gpe.util.files
Class FileTools
java.lang.Object
com.intel.gpe.util.files.FileTools
public class FileTools
- extends java.lang.Object
- Version:
- $Id$
- Author:
- Ralf Ratering
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTools
public FileTools()
writeBytesToFile
public static void writeBytesToFile(byte[] bytes,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
readBytesFromInputStream
public static byte[] readBytesFromInputStream(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
readBytesFromFile
public static byte[] readBytesFromFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
validateRelativePath
public static boolean validateRelativePath(java.lang.String relativePath,
java.lang.String fileSep)
normalizeUASPath
public static java.lang.String normalizeUASPath(java.lang.String originalPath,
java.lang.String fileSep)
throws MalformedPathException
- Throws:
MalformedPathException
Copyright © 2008. All Rights Reserved.