Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.jet.taglib
Class TagUtil

java.lang.Object
  extended by 
org.eclipse.jet.taglib.TagUtil

public class TagUtil
extends java.lang.Object

Utility class with various functions useful to tag implementations


Method Summary
static java.lang.String getContents (org.eclipse.core.runtime.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
 

Method Detail

getContents

public static java.lang.String getContents(org.eclipse.core.runtime.IPath location)
                                    throws org.eclipse.core.runtime.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:
org.eclipse.core.runtime.CoreException - if an error occurs while reading the file
java.lang.IllegalArgumentException - if location does not refer to an existing workspace file.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire