org.eclipse.wst.jsdt.jsdoc
Class Util
java.lang.Object
org.eclipse.wst.jsdt.jsdoc.Util
public class Util
- extends Object
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSL_HEADER
public static final String XSL_HEADER
- See Also:
- Constant Field Values
XSL_FOOTER
public static final String XSL_FOOTER
- See Also:
- Constant Field Values
NEW_LINE
public static final String NEW_LINE
VERBOSE
public static final boolean VERBOSE
- See Also:
- Constant Field Values
Util
public Util()
retrieveFromUrl
public static String retrieveFromUrl(String url,
boolean useCache,
boolean deleteOnExit)
throws IOException
- Throws:
IOException
toUniqueFileName
public static String toUniqueFileName(String url)
retrieveFromUrlFixEncode
public static String retrieveFromUrlFixEncode(String url,
boolean useBuffer,
boolean deleteOnExit)
throws IOException
- Throws:
IOException
applyTranslation
public static String applyTranslation(String text,
File translation)
throws MappingException
- Throws:
MappingException
dataToTempFile
public static File dataToTempFile(String data)
fileToString
public static String fileToString(String fileName)
throws IOException
- Throws:
IOException
stringToFile
public static File stringToFile(String data,
String fileName,
boolean appendToEnd,
boolean deleteOnExit)
getBaseUrl
public static String getBaseUrl(String url)
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.