ogre.dms.data
Class DMSFile

java.lang.Object
  extended by ogre.dms.data.DMSFile
All Implemented Interfaces:
Serializable

public class DMSFile
extends Object
implements Serializable

Version:
$Id: DMSFile.java,v 1.1.1.1.12.1 2007/05/14 01:59:53 esso Exp $
Author:
Docpedia team
See Also:
Serialized Form

Constructor Summary
DMSFile(File file)
           
 
Method Summary
 Vector getContentNameList()
          get names of the contents in the directory
 HashMap getContentPathMap()
          get the hashmap of the contents which map from file name to absolute path
 HashMap getContentTypeMap()
          get the hashmap of the contents which map from file name to file type.
 String getParentPath()
          get absolute path of parent directory of the file
 String getPath()
          get absolute path of the file
 boolean isDirectory()
           
 boolean isFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMSFile

public DMSFile(File file)
Method Detail

isDirectory

public boolean isDirectory()

isFile

public boolean isFile()

getParentPath

public String getParentPath()
get absolute path of parent directory of the file


getPath

public String getPath()
get absolute path of the file


getContentNameList

public Vector getContentNameList()
get names of the contents in the directory


getContentPathMap

public HashMap getContentPathMap()
get the hashmap of the contents which map from file name to absolute path


getContentTypeMap

public HashMap getContentTypeMap()
get the hashmap of the contents which map from file name to file type. file type can be "Directory" or "File"



Copyright(c) 2005-2012 by Flowring Technology Corp., 12 F., No 120, Sec 2, Gongdao 5th Rd., Hsin-Chu City 300, Taiwan(R.O.C.) All rights reserved.