com.flexive.shared.search
Class FxPaths.Path

java.lang.Object
  extended by com.flexive.shared.search.FxPaths.Path
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
FxPaths

public static class FxPaths.Path
extends java.lang.Object
implements java.io.Serializable

This object represents a single path, eg '/Images/myFolder/myFile.txt'

See Also:
Serialized Form

Constructor Summary
FxPaths.Path(java.lang.String encoded)
          Constructor.
 
Method Summary
 java.lang.String getCaption()
          Getter for the path caption, eg '/Images/myFolder/myFile.txt'.
 java.util.List<FxPaths.Item> getItems()
          Returns all items of the path in the correct order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxPaths.Path

public FxPaths.Path(java.lang.String encoded)
Constructor.

Parameters:
encoded - the encoded path
Method Detail

getItems

public java.util.List<FxPaths.Item> getItems()
Returns all items of the path in the correct order.

The path '/Images/myFolder/myFile.txt' will return the items Images, myFolder and myFile.txt

Returns:
all items of the path

getCaption

public java.lang.String getCaption()
Getter for the path caption, eg '/Images/myFolder/myFile.txt'.

Returns:
the path caption