org.mod4j.dslcommon.io
Class Files

java.lang.Object
  extended by org.mod4j.dslcommon.io.Files

public class Files
extends java.lang.Object


Constructor Summary
Files()
           
 
Method Summary
static java.lang.String findFile(java.lang.String filename)
          Try to find a file on the CLASSPATH
 java.lang.String getDir(java.lang.String filename)
          Try to find a file on the CLASSPATH
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Files

public Files()
Method Detail

findFile

public static java.lang.String findFile(java.lang.String filename)
Try to find a file on the CLASSPATH

Parameters:
filename - The file to find, relatrive path to the CLASSPATH
Returns:
If found, the URL of the file, otherwise null

getDir

public java.lang.String getDir(java.lang.String filename)
Try to find a file on the CLASSPATH

Parameters:
filename - The file to find
Returns:
If found, the URL of the file, otherwise null


Copyright © 2010 Mod4j. All Rights Reserved.