public class SpaceDelimitedReader extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
trim |
| Constructor and Description |
|---|
SpaceDelimitedReader(String input,
boolean trim) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
next() |
String |
prepNext() |
String[] |
readLine(int i) |
String[] |
readLine(int[] breakPoints) |
static String |
readStringPart(String string,
int start,
int end,
boolean trim) |
static String[] |
splitStringAtPoints(int[] breakPoints,
String line,
boolean trim) |
public SpaceDelimitedReader(String input, boolean trim)
public boolean next()
throws IOException
IOExceptionpublic String prepNext() throws IOException
IOExceptionpublic String[] readLine(int i) throws IOException
IOExceptionpublic String[] readLine(int[] breakPoints) throws IOException
IOExceptionpublic static String[] splitStringAtPoints(int[] breakPoints, String line, boolean trim)
Copyright © 2021. All rights reserved.