com.flexive.shared.search
Class FxPaths

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

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

Tree-paths returned by queries

Author:
Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Nested Class Summary
static class FxPaths.Item
          This object represebts a item within a path, eg 'myFolder' in the path '/Images/myFolder/myFile.txt'.
static class FxPaths.Path
          This object represents a single path, eg '/Images/myFolder/myFile.txt'
 
Constructor Summary
FxPaths(java.lang.String encoded)
          Decodes the given DB string into a FxPaths object.
 
Method Summary
 java.util.List<FxPaths.Path> getPaths()
          Returns all paths.
 java.lang.String toString()
           *
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FxPaths

public FxPaths(java.lang.String encoded)
Decodes the given DB string into a FxPaths object.

The encoded paths are separated by a newline ('\n').
The items within a path are separated by a '/' character.
The informations within the a path item are separated by a ':' character

Parameters:
encoded - the encoded string
Method Detail

getPaths

public java.util.List<FxPaths.Path> getPaths()
Returns all paths.

Returns:
the paths

toString

public java.lang.String toString()
*

Overrides:
toString in class java.lang.Object