org.tagnetic.core.util
Class FileUtil
java.lang.Object
org.tagnetic.core.util.FileUtil
- public class FileUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
readFile
public static java.lang.String readFile(TagContext tagContext,
java.lang.String fileName)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
java.io.IOException
createReader
public static java.io.BufferedReader createReader(TagContext tagContext,
java.lang.String fileName)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
createWriter
public static java.io.BufferedWriter createWriter(TagContext tagContext,
java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
makeFile
public static void makeFile(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
getAbsolutePath
public static java.lang.String getAbsolutePath(java.lang.String relatedFileName,
java.lang.String targetFileName)
getAbsolutePathUsingTagContextCurrentFile
public static java.lang.String getAbsolutePathUsingTagContextCurrentFile(TagContext tagContext,
java.lang.String targetFileName)
Copyright © 2005 tagnetic.org. All Rights Reserved.