org.jboss.system.server.profileservice.repository.clustered.local.file
Class FileUtil
java.lang.Object
org.jboss.system.server.profileservice.repository.clustered.local.file.FileUtil
public class FileUtil
- extends Object
Utility methods related to filesystem operations.
- Version:
- $Revision: $
- Author:
- Brian Stansberry
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localMove
public static void localMove(File source,
File destination,
long modifiedTime)
throws IOException
- Throws:
IOException
getFileForItem
public static File getFileForItem(URI rootURI,
RepositoryItemMetadata item)
createTempFile
public static File createTempFile(String tmpDirName,
String partitionName)
throws IOException
- Throws:
IOException
createTempFile
public static File createTempFile(File tmpDir,
String partitionName)
throws IOException
- Throws:
IOException
createTempDir
public static File createTempDir(String tmpDirName)
throws IOException
- Throws:
IOException
safeCloseStream
public static void safeCloseStream(OutputStream os,
Object id)
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.