code: public final String toPath()
      {
          Stack<String> stack = new Stack<String>();
          Entry root = getFileSystem().getRoot();
          Entry entry = this;
          do
          {
              stack.push( entry.getName() );
              entry = entry.getParent();
          }
          while ( entry != null && !root.equals( entry ) );
          
          StringBuffer buf = new StringBuffer();
          while ( stack.size() > 1 )
          {
              buf.append( stack.pop() );
              buf.append( '/' );
          }
          buf.append( stack.pop() );
          return buf.toString();
      }
docs: {@inheritDoc}