org.eclipse.jet.taglib
Class TagUtil
java.lang.Object
org.eclipse.jet.taglib.TagUtil
- public class TagUtil
- extends Object
Utility class with various functions useful to tag implementations
Method Summary |
static String |
getContents(IPath location)
Return the contents of the text file refered to by location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getContents
public static String getContents(IPath location)
throws CoreException
- Return the contents of the text file refered to by location.
- Parameters:
location
- the full file system location of the resource.
- Returns:
- the contents as a string
- Throws:
CoreException
- if an error occurs while reading the file
IllegalArgumentException
- if location
does not refer to an existing workspace file.