public class MiscUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
getLineNumber(java.lang.CharSequence data,
int pos) |
static org.eclipse.core.runtime.IStatus |
makeErrorStatus(java.lang.Exception e) |
static org.eclipse.core.runtime.IStatus |
makeErrorStatus(java.lang.String message) |
static org.eclipse.core.runtime.IStatus |
makeErrorStatus(java.lang.String message,
java.lang.Exception e) |
static java.lang.String |
readAndClose(java.io.Reader reader) |
public static org.eclipse.core.runtime.IStatus makeErrorStatus(java.lang.Exception e)
public static org.eclipse.core.runtime.IStatus makeErrorStatus(java.lang.String message, java.lang.Exception e)
public static org.eclipse.core.runtime.IStatus makeErrorStatus(java.lang.String message)
public static java.lang.String readAndClose(java.io.Reader reader) throws java.io.IOException
java.io.IOException
public static int getLineNumber(java.lang.CharSequence data, int pos)