Library | Package Java Toolkit

Class FileListOpt

package com.ptc.pfc.pfcSession;

public class FileListOpt
  implements jxenum



Description

This enumerated type indicates which files should be returned when listing files in a directory.
See Also:
BaseSession.ListFiles(String, FileListOpt, /*optional*/ String)



Field Summary
static final int_FILE_LIST_ALL
    Integer value of enum value "FILE_LIST_ALL"
    List all files (including multiple versions of the same file).
static final FileListOptFILE_LIST_ALL
    Object value of enum value "FILE_LIST_ALL"
    List all files (including multiple versions of the same file).
static final int_FILE_LIST_LATEST
    Integer value of enum value "FILE_LIST_LATEST"
    List only the latest version of each file.
static final FileListOptFILE_LIST_LATEST
    Object value of enum value "FILE_LIST_LATEST"
    List only the latest version of each file.
static final int_FILE_LIST_ALL_INST
    Integer value of enum value "FILE_LIST_ALL_INST"
    Same as FILE_LIST_ALL, to show instances for PDM locations.
static final FileListOptFILE_LIST_ALL_INST
    Object value of enum value "FILE_LIST_ALL_INST"
    Same as FILE_LIST_ALL, to show instances for PDM locations.
static final int_FILE_LIST_LATEST_INST
    Integer value of enum value "FILE_LIST_LATEST_INST"
    Same as FILE_LIST_LATEST, to show instances for PDM locations.
static final FileListOptFILE_LIST_LATEST_INST
    Object value of enum value "FILE_LIST_LATEST_INST"
    Same as FILE_LIST_LATEST, to show instances for PDM locations.
static final int_FileListOpt_null
    Enum null value.

Method Summary
static FileListOptFromInt (int value)
    Creates enum object from an integer.
static FileListOptFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static FileListOptFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static FileListOptFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.