public class StringUtilities extends Object
| Constructor and Description |
|---|
StringUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCharacterPosition(String document,
int line,
int column)
Convert a line and column in a document to a full character offset.
|
public static int getCharacterPosition(String document, int line, int column)
document - the documentline - the line (1-based !)column - the column (0-based)Copyright © 2006-2013. All Rights Reserved.