public class MiscUtil extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getLineNumber(CharSequence data,
int pos) |
static IStatus |
makeErrorStatus(Exception e) |
static IStatus |
makeErrorStatus(String message) |
static IStatus |
makeErrorStatus(String message,
Exception e) |
static String |
readAndClose(Reader reader) |
public static IStatus makeErrorStatus(Exception e)
public static IStatus makeErrorStatus(String message)
public static String readAndClose(Reader reader) throws IOException
IOException
public static int getLineNumber(CharSequence data, int pos)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.