Package com._1c.g5.v8.dt.dcs.path
Class DcsPath
java.lang.Object
com._1c.g5.v8.dt.dcs.path.DcsPathBase
com._1c.g5.v8.dt.dcs.path.DcsPath
Путь системы компоновки данных
-
Field Summary
Fields inherited from class com._1c.g5.v8.dt.dcs.path.DcsPathBase
content
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionДобавить путьappend
(DcsPathPart pathPart) Добавить часть путиcombine
(List<DcsPathPart> parts) Сформировать путь из частейПолучить путь потомкаboolean
isChildPath
(DcsPath path) Check whether given path is child for thisboolean
isEmpty()
Проверка на пустотуboolean
Проверить, заканчивается ли путь на указанный путьПолучить родительский путьvoid
split
(List<DcsPathPart> parts) Разбить на частиvoid
Разбить на частиboolean
splitNotSingle
(List<DcsPathPart> parts) Разбить строку на несколько, только в случае если строка не была одиночнойMethods inherited from class com._1c.g5.v8.dt.dcs.path.DcsPathBase
equals, getContent, hashCode, setContent, toString
-
Constructor Details
-
DcsPath
public DcsPath() -
DcsPath
- Throws:
DcsPathException
-
DcsPath
- Throws:
DcsPathException
-
DcsPath
- Throws:
DcsPathException
-
DcsPath
- Throws:
DcsPathException
-
-
Method Details
-
append
Добавить часть пути- Parameters:
pathPart
- часть пути- Returns:
- путь
- Throws:
DcsPathException
-
append
Добавить путь- Parameters:
path
- добавляемый путь- Returns:
- результирующий путь
- Throws:
DcsPathException
-
split
Разбить на части- Parameters:
parts
- части- Throws:
DcsPathException
-
split2
Разбить на части- Parameters:
parts2
- части- Throws:
DcsPathException
-
splitNotSingle
Разбить строку на несколько, только в случае если строка не была одиночной- Parameters:
parts
- части- Returns:
- истина, если строка не была одиночной и была разбита, ложь если строка была одиночной
- Throws:
DcsPathException
-
combine
Сформировать путь из частей- Parameters:
parts
- части- Returns:
- путь
-
nearParentPath
Получить родительский путь- Returns:
- родительский путь
- Throws:
DcsPathException
-
isEmpty
public boolean isEmpty()Проверка на пустоту- Returns:
- пустой
-
isEndWith
Проверить, заканчивается ли путь на указанный путь- Parameters:
testPath
- путь- Returns:
- истина, если заканчивается
-
getChildPath
Получить путь потомка- Returns:
- путь
- Throws:
DcsPathException
-
isChildPath
Check whether given path is child for this- Parameters:
path
- path, can't be null- Returns:
- whether given path is child for this
-