org.exoplatform
Class SecureAssert

java.lang.Object
  extended by org.exoplatform.SecureAssert

public class SecureAssert
extends Object


Constructor Summary
SecureAssert()
           
 
Method Summary
static void assertFileEmpty(String fileName)
          Check from it's own name if file is empty.
static void assertFileExists(String fileName)
          Check from it's own name if file exists.
static void assertFileNotEmpty(String fileName)
          Check from it's own name if file is not empty.
static void assertIsFile(String fileName)
          Check from it's own name if fileName is file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureAssert

public SecureAssert()
Method Detail

assertFileExists

public static void assertFileExists(String fileName)
Check from it's own name if file exists.

Parameters:
fileName - - name of the file

assertIsFile

public static void assertIsFile(String fileName)
Check from it's own name if fileName is file.

Parameters:
fileName - - name of the file

assertFileNotEmpty

public static void assertFileNotEmpty(String fileName)
Check from it's own name if file is not empty.

Parameters:
fileName - - name of the file

assertFileEmpty

public static void assertFileEmpty(String fileName)
Check from it's own name if file is empty.

Parameters:
fileName - - name of the file.


Copyright © 2012. All Rights Reserved.