org.apache.hadoop.dfs
Class HftpFileSystem.HftpFileStatus

java.lang.Object
  extended by org.apache.hadoop.dfs.HftpFileSystem.HftpFileStatus
All Implemented Interfaces:
FileStatus
Enclosing class:
HftpFileSystem

public class HftpFileSystem.HftpFileStatus
extends Object
implements FileStatus


Constructor Summary
HftpFileSystem.HftpFileStatus(long length, boolean isdir, short replication, long blocksize, long modtime, Path path)
           
 
Method Summary
 long getBlockSize()
          Get the block size of the file.
 long getLen()
           
 long getModificationTime()
          Get the modification time of the file.
 Path getPath()
           
 short getReplication()
          Get the replication factor of a file.
 boolean isDir()
          Is this a directory?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HftpFileSystem.HftpFileStatus

public HftpFileSystem.HftpFileStatus(long length,
                                     boolean isdir,
                                     short replication,
                                     long blocksize,
                                     long modtime,
                                     Path path)
Method Detail

getLen

public long getLen()
Specified by:
getLen in interface FileStatus

isDir

public boolean isDir()
Description copied from interface: FileStatus
Is this a directory?

Specified by:
isDir in interface FileStatus
Returns:
true if this is a directory

getBlockSize

public long getBlockSize()
Description copied from interface: FileStatus
Get the block size of the file.

Specified by:
getBlockSize in interface FileStatus
Returns:
the number of bytes

getReplication

public short getReplication()
Description copied from interface: FileStatus
Get the replication factor of a file.

Specified by:
getReplication in interface FileStatus
Returns:
the replication factor of a file.

getModificationTime

public long getModificationTime()
Description copied from interface: FileStatus
Get the modification time of the file.

Specified by:
getModificationTime in interface FileStatus
Returns:
the modification time of file.

getPath

public Path getPath()


Copyright © 2006 The Apache Software Foundation