thredds.filesystem
Class MFileOS

java.lang.Object
  extended by thredds.filesystem.MFileOS
All Implemented Interfaces:
Comparable<MFile>, MFile

@ThreadSafe
public class MFileOS
extends Object
implements MFile

Implements thredds.inventory.MFile using regular OS files.

Since:
Jun 30, 2009
Author:
caron

Method Summary
 int compareTo(MFile o)
           
 Object getAuxInfo()
           
 long getLastModified()
           
 long getLength()
           
 String getName()
           
 String getPath()
           
 boolean isDirectory()
           
 void setAuxInfo(Object auxInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface MFile

getLength

public long getLength()
Specified by:
getLength in interface MFile

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface MFile

getPath

public String getPath()
Specified by:
getPath in interface MFile

getName

public String getName()
Specified by:
getName in interface MFile

compareTo

public int compareTo(MFile o)
Specified by:
compareTo in interface Comparable<MFile>
Specified by:
compareTo in interface MFile

getAuxInfo

public Object getAuxInfo()
Specified by:
getAuxInfo in interface MFile

setAuxInfo

public void setAuxInfo(Object auxInfo)
Specified by:
setAuxInfo in interface MFile


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.