com.spss.psapi.resource

Interface ServerFile



  • public interface ServerFile
    This encapsulates the representation of a file on the server file system. A server file always uses "/" to separate directory paths since this is valid for both UNIX and Windows file systems.
    Since:
    PSAPI 1.0
    Version:
    1.0
    Author:
    Julian Clinton
    Specification Status:
    Under Development
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Returns the name of the file.
      java.lang.String getParent()
      Returns the pathname of the parent directory.
      ServerFile getParentServerFile()
      Returns a file representing the parent directory.
      java.lang.String getPath()
      Returns the pathname of the file.
      boolean isAbsolute()
      Returns whether the pathname is absolute.
      boolean isDirectory()
      Returns whether this file is a directory.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of the file.
        Returns:
        the name of the file
      • getPath

        java.lang.String getPath()
        Returns the pathname of the file.
        Returns:
        the pathname
      • getParent

        java.lang.String getParent()
        Returns the pathname of the parent directory.
        Returns:
        pathname of the parent directory
      • getParentServerFile

        ServerFile getParentServerFile()
        Returns a file representing the parent directory.
        Returns:
        a file representing the parent directory
      • isDirectory

        boolean isDirectory()
        Returns whether this file is a directory.
        Returns:
        whether this file is a directory
      • isAbsolute

        boolean isAbsolute()
        Returns whether the pathname is absolute.
        Returns:
        whether the pathname is absolute

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.