|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.util.PathUtil
public class PathUtil
ClassPath 등의 경로를 다루기위한 기능들을 제공하는 유틸리티 클래스
| Constructor Summary | |
|---|---|
PathUtil()
|
|
| Method Summary | |
|---|---|
static String |
getCanonicalPath(String path)
주어진 경로를 받아서 .과 .. |
static String |
getCanonicalPath(String path,
boolean includeLast)
주어진 경로를 받아서 .과 .. |
static String |
getParentPath(String path)
상위 경로의 path를 반환한다. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathUtil()
| Method Detail |
|---|
public static String getCanonicalPath(String path,
boolean includeLast)
path - includeLast - true이면 마지막 경로를 포함시키지 않고 반환한다.
public static String getCanonicalPath(String path)
path -
public static String getParentPath(String path)
path -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||