GeoSoft API

no.geosoft.cc.directory
Class SymbolicLink

Object
  |
  +--DirectoryEntry
        |
        +--SymbolicLink
All Implemented Interfaces:
Comparable

public class SymbolicLink
extends DirectoryEntry

A class representing a symbolic link within a generic directory structure.

Author:
GeoSoft

Constructor Summary
SymbolicLink(DirectoryEntry actualEntry)
          Create a symbolic link of a specified actual entry.
SymbolicLink(DirectoryEntry actualEntry, String name)
          Create a symbolic link of a specified actual entry and with a specified name.
 
Method Summary
 boolean isLeaf()
          Return true if this symbolic link object represent a leaf entry.
 void print(int indent)
           
 
Methods inherited from class DirectoryEntry
compareTo, equals, getItem, getName, getParent, getPath, isFolder, setItem, setName, toString
 
Methods inherited from class Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymbolicLink

public SymbolicLink(DirectoryEntry actualEntry)
Create a symbolic link of a specified actual entry.

Parameters:
actualEntry - The actual entry to create link of.

SymbolicLink

public SymbolicLink(DirectoryEntry actualEntry,
                    String name)
Create a symbolic link of a specified actual entry and with a specified name.

Parameters:
actualEntry - The actual entry to create link of.
name - Name of this link.
Method Detail

isLeaf

public boolean isLeaf()
Return true if this symbolic link object represent a leaf entry.

Specified by:
isLeaf in class DirectoryEntry
Returns:
True if this is a leaf node, false otherwise.

print

public void print(int indent)
Specified by:
print in class DirectoryEntry

GeoSoft API

Copyright © 2004 - Geotechnical Software Services     geosoft.no