org.sca4j.binding.file.runtime
Class FileUtils

java.lang.Object
  extended by org.sca4j.binding.file.runtime.FileUtils

public class FileUtils
extends java.lang.Object

File related utilities.

Author:
dhillonn

Constructor Summary
FileUtils()
           
 
Method Summary
static void closeQuietly(java.nio.channels.FileChannel fileChannel)
          Close the file channel
static void closeQuietly(java.nio.channels.FileLock fileLock)
          Release and close the file lock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

closeQuietly

public static void closeQuietly(java.nio.channels.FileLock fileLock)
Release and close the file lock

Parameters:
fileLock - FileLock

closeQuietly

public static void closeQuietly(java.nio.channels.FileChannel fileChannel)
Close the file channel

Parameters:
fileChannel - FileChannel


Copyright © 2008-2011 Service Symphony. All Rights Reserved.