public class ItemPath extends Object implements Serializable
| コンストラクタと説明 |
|---|
ItemPath(ItemIdentifier... segments)
セグメントを指定して項目パスを作成します。
|
ItemPath(String stringRepresentation)
その文字列表記から項目パスを作成します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(Object obj) |
List<ItemIdentifier> |
getSegments()
すべての項目識別子のセグメントを持つリストを返します。
|
int |
hashCode() |
String |
toString()
指定した項目パスの文字列表現を作成します。
|
public ItemPath(String stringRepresentation)
/Games/Applications[2]/[0]
セグメントを指定する方法は 3 種類あります。
Games は、テキスト "Games" を持つ項目を参照します。[0] は、最初の項目を参照します。Applications[2] は、テキスト "Application" を持つ 3 番目の項目を参照します。stringRepresentation - 項目の文字列表現IllegalArgumentException - 文字列表現が無効な場合。public ItemPath(ItemIdentifier... segments)
ItemPath(String) を参照してください。segments - パスのセグメント。
public List<ItemIdentifier> getSegments()
Copyright 2009-2012 Micro Focus. All Rights Reserved.