public final class PathSplitter extends Object
| Constructor and Description |
|---|
PathSplitter() |
PathSplitter(String path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
endsWithSlash() |
String |
getCurrent() |
String |
getCurrentAndRest() |
String |
getPath()
Return the entire input path.
|
String |
getRest() |
String |
getUptoCurrent() |
void |
init(String path) |
boolean |
isEmpty() |
boolean |
isEqual(String str)
Compares the current string with the specified thingy.
|
boolean |
isRestEmpty() |
boolean |
next() |
public PathSplitter()
public PathSplitter(String path)
public void init(String path)
public String getPath()
public boolean next()
public String getCurrent()
public String getCurrentAndRest()
public String getRest()
public String getUptoCurrent()
public boolean isRestEmpty()
public boolean endsWithSlash()
public boolean isEmpty()
public boolean isEqual(String str)
str - Copyright © 2017 etc.to. All rights reserved.