[120] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 2 | <!--NewPage--> |
---|
| 3 | <HTML> |
---|
| 4 | <HEAD> |
---|
| 5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:50 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | FileStatus (Hadoop 0.20.1 API) |
---|
| 8 | </TITLE> |
---|
| 9 | |
---|
| 10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
| 11 | |
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
| 13 | |
---|
| 14 | <SCRIPT type="text/javascript"> |
---|
| 15 | function windowTitle() |
---|
| 16 | { |
---|
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 18 | parent.document.title="FileStatus (Hadoop 0.20.1 API)"; |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | </SCRIPT> |
---|
| 22 | <NOSCRIPT> |
---|
| 23 | </NOSCRIPT> |
---|
| 24 | |
---|
| 25 | </HEAD> |
---|
| 26 | |
---|
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 28 | <HR> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 32 | <A NAME="navbar_top"><!-- --></A> |
---|
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 35 | <TR> |
---|
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 39 | <TR ALIGN="center" VALIGN="top"> |
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FileStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 48 | </TR> |
---|
| 49 | </TABLE> |
---|
| 50 | </TD> |
---|
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 52 | </EM> |
---|
| 53 | </TD> |
---|
| 54 | </TR> |
---|
| 55 | |
---|
| 56 | <TR> |
---|
| 57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 58 | <A HREF="../../../../org/apache/hadoop/fs/FileChecksum.html" title="class in org.apache.hadoop.fs"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/fs/FileStatus.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="FileStatus.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.hadoop.fs</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class FileStatus</H2> |
---|
| 94 | <PRE> |
---|
| 95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
| 96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.fs.FileStatus</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>, <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <DL> |
---|
| 103 | <DT><PRE>public class <B>FileStatus</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | Interface that represents the client side information for a file. |
---|
| 108 | <P> |
---|
| 109 | |
---|
| 110 | <P> |
---|
| 111 | <HR> |
---|
| 112 | |
---|
| 113 | <P> |
---|
| 114 | |
---|
| 115 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 116 | |
---|
| 117 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 120 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 121 | <B>Constructor Summary</B></FONT></TH> |
---|
| 122 | </TR> |
---|
| 123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 124 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#FileStatus()">FileStatus</A></B>()</CODE> |
---|
| 125 | |
---|
| 126 | <BR> |
---|
| 127 | </TD> |
---|
| 128 | </TR> |
---|
| 129 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 130 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#FileStatus(long, boolean, int, long, long, long, org.apache.hadoop.fs.permission.FsPermission, java.lang.String, java.lang.String, org.apache.hadoop.fs.Path)">FileStatus</A></B>(long length, |
---|
| 131 | boolean isdir, |
---|
| 132 | int block_replication, |
---|
| 133 | long blocksize, |
---|
| 134 | long modification_time, |
---|
| 135 | long access_time, |
---|
| 136 | <A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission, |
---|
| 137 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> owner, |
---|
| 138 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 139 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
| 140 | |
---|
| 141 | <BR> |
---|
| 142 | </TD> |
---|
| 143 | </TR> |
---|
| 144 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 145 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#FileStatus(long, boolean, int, long, long, org.apache.hadoop.fs.Path)">FileStatus</A></B>(long length, |
---|
| 146 | boolean isdir, |
---|
| 147 | int block_replication, |
---|
| 148 | long blocksize, |
---|
| 149 | long modification_time, |
---|
| 150 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</CODE> |
---|
| 151 | |
---|
| 152 | <BR> |
---|
| 153 | </TD> |
---|
| 154 | </TR> |
---|
| 155 | </TABLE> |
---|
| 156 | |
---|
| 157 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 158 | |
---|
| 159 | <A NAME="method_summary"><!-- --></A> |
---|
| 160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 162 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 163 | <B>Method Summary</B></FONT></TH> |
---|
| 164 | </TR> |
---|
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 167 | <CODE> int</CODE></FONT></TD> |
---|
| 168 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#compareTo(java.lang.Object)">compareTo</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
---|
| 169 | |
---|
| 170 | <BR> |
---|
| 171 | Compare this object to another object</TD> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE> boolean</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</CODE> |
---|
| 177 | |
---|
| 178 | <BR> |
---|
| 179 | Compare if this object is equal to another object</TD> |
---|
| 180 | </TR> |
---|
| 181 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 182 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 183 | <CODE> long</CODE></FONT></TD> |
---|
| 184 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getAccessTime()">getAccessTime</A></B>()</CODE> |
---|
| 185 | |
---|
| 186 | <BR> |
---|
| 187 | Get the access time of the file.</TD> |
---|
| 188 | </TR> |
---|
| 189 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 191 | <CODE> long</CODE></FONT></TD> |
---|
| 192 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getBlockSize()">getBlockSize</A></B>()</CODE> |
---|
| 193 | |
---|
| 194 | <BR> |
---|
| 195 | Get the block size of the file.</TD> |
---|
| 196 | </TR> |
---|
| 197 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 199 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 200 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getGroup()">getGroup</A></B>()</CODE> |
---|
| 201 | |
---|
| 202 | <BR> |
---|
| 203 | Get the group associated with the file.</TD> |
---|
| 204 | </TR> |
---|
| 205 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 207 | <CODE> long</CODE></FONT></TD> |
---|
| 208 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getLen()">getLen</A></B>()</CODE> |
---|
| 209 | |
---|
| 210 | <BR> |
---|
| 211 | </TD> |
---|
| 212 | </TR> |
---|
| 213 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 215 | <CODE> long</CODE></FONT></TD> |
---|
| 216 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getModificationTime()">getModificationTime</A></B>()</CODE> |
---|
| 217 | |
---|
| 218 | <BR> |
---|
| 219 | Get the modification time of the file.</TD> |
---|
| 220 | </TR> |
---|
| 221 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 223 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 224 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getOwner()">getOwner</A></B>()</CODE> |
---|
| 225 | |
---|
| 226 | <BR> |
---|
| 227 | Get the owner of the file.</TD> |
---|
| 228 | </TR> |
---|
| 229 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 230 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 231 | <CODE> <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A></CODE></FONT></TD> |
---|
| 232 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getPath()">getPath</A></B>()</CODE> |
---|
| 233 | |
---|
| 234 | <BR> |
---|
| 235 | </TD> |
---|
| 236 | </TR> |
---|
| 237 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 238 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 239 | <CODE> <A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
| 240 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getPermission()">getPermission</A></B>()</CODE> |
---|
| 241 | |
---|
| 242 | <BR> |
---|
| 243 | Get FsPermission associated with the file.</TD> |
---|
| 244 | </TR> |
---|
| 245 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 247 | <CODE> short</CODE></FONT></TD> |
---|
| 248 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#getReplication()">getReplication</A></B>()</CODE> |
---|
| 249 | |
---|
| 250 | <BR> |
---|
| 251 | Get the replication factor of a file.</TD> |
---|
| 252 | </TR> |
---|
| 253 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 255 | <CODE> int</CODE></FONT></TD> |
---|
| 256 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#hashCode()">hashCode</A></B>()</CODE> |
---|
| 257 | |
---|
| 258 | <BR> |
---|
| 259 | Returns a hash code value for the object, which is defined as |
---|
| 260 | the hash code of the path name.</TD> |
---|
| 261 | </TR> |
---|
| 262 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 264 | <CODE> boolean</CODE></FONT></TD> |
---|
| 265 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#isDir()">isDir</A></B>()</CODE> |
---|
| 266 | |
---|
| 267 | <BR> |
---|
| 268 | Is this a directory?</TD> |
---|
| 269 | </TR> |
---|
| 270 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 272 | <CODE> void</CODE></FONT></TD> |
---|
| 273 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
| 274 | |
---|
| 275 | <BR> |
---|
| 276 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
| 277 | </TR> |
---|
| 278 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 279 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 280 | <CODE>protected void</CODE></FONT></TD> |
---|
| 281 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#setGroup(java.lang.String)">setGroup</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group)</CODE> |
---|
| 282 | |
---|
| 283 | <BR> |
---|
| 284 | Sets group.</TD> |
---|
| 285 | </TR> |
---|
| 286 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 287 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 288 | <CODE>protected void</CODE></FONT></TD> |
---|
| 289 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#setOwner(java.lang.String)">setOwner</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> owner)</CODE> |
---|
| 290 | |
---|
| 291 | <BR> |
---|
| 292 | Sets owner.</TD> |
---|
| 293 | </TR> |
---|
| 294 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 295 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 296 | <CODE>protected void</CODE></FONT></TD> |
---|
| 297 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#setPermission(org.apache.hadoop.fs.permission.FsPermission)">setPermission</A></B>(<A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</CODE> |
---|
| 298 | |
---|
| 299 | <BR> |
---|
| 300 | Sets permission.</TD> |
---|
| 301 | </TR> |
---|
| 302 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 303 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 304 | <CODE> void</CODE></FONT></TD> |
---|
| 305 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/FileStatus.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE> |
---|
| 306 | |
---|
| 307 | <BR> |
---|
| 308 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
| 309 | </TR> |
---|
| 310 | </TABLE> |
---|
| 311 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 312 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 313 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 314 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
| 315 | </TR> |
---|
| 316 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 317 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
| 318 | </TR> |
---|
| 319 | </TABLE> |
---|
| 320 | |
---|
| 321 | <P> |
---|
| 322 | |
---|
| 323 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 324 | |
---|
| 325 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 326 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 327 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 328 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 329 | <B>Constructor Detail</B></FONT></TH> |
---|
| 330 | </TR> |
---|
| 331 | </TABLE> |
---|
| 332 | |
---|
| 333 | <A NAME="FileStatus()"><!-- --></A><H3> |
---|
| 334 | FileStatus</H3> |
---|
| 335 | <PRE> |
---|
| 336 | public <B>FileStatus</B>()</PRE> |
---|
| 337 | <DL> |
---|
| 338 | </DL> |
---|
| 339 | <HR> |
---|
| 340 | |
---|
| 341 | <A NAME="FileStatus(long, boolean, int, long, long, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
| 342 | FileStatus</H3> |
---|
| 343 | <PRE> |
---|
| 344 | public <B>FileStatus</B>(long length, |
---|
| 345 | boolean isdir, |
---|
| 346 | int block_replication, |
---|
| 347 | long blocksize, |
---|
| 348 | long modification_time, |
---|
| 349 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</PRE> |
---|
| 350 | <DL> |
---|
| 351 | </DL> |
---|
| 352 | <HR> |
---|
| 353 | |
---|
| 354 | <A NAME="FileStatus(long, boolean, int, long, long, long, org.apache.hadoop.fs.permission.FsPermission, java.lang.String, java.lang.String, org.apache.hadoop.fs.Path)"><!-- --></A><H3> |
---|
| 355 | FileStatus</H3> |
---|
| 356 | <PRE> |
---|
| 357 | public <B>FileStatus</B>(long length, |
---|
| 358 | boolean isdir, |
---|
| 359 | int block_replication, |
---|
| 360 | long blocksize, |
---|
| 361 | long modification_time, |
---|
| 362 | long access_time, |
---|
| 363 | <A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission, |
---|
| 364 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> owner, |
---|
| 365 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group, |
---|
| 366 | <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> path)</PRE> |
---|
| 367 | <DL> |
---|
| 368 | </DL> |
---|
| 369 | |
---|
| 370 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 371 | |
---|
| 372 | <A NAME="method_detail"><!-- --></A> |
---|
| 373 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 374 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 375 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 376 | <B>Method Detail</B></FONT></TH> |
---|
| 377 | </TR> |
---|
| 378 | </TABLE> |
---|
| 379 | |
---|
| 380 | <A NAME="getLen()"><!-- --></A><H3> |
---|
| 381 | getLen</H3> |
---|
| 382 | <PRE> |
---|
| 383 | public long <B>getLen</B>()</PRE> |
---|
| 384 | <DL> |
---|
| 385 | <DD><DL> |
---|
| 386 | </DL> |
---|
| 387 | </DD> |
---|
| 388 | <DD><DL> |
---|
| 389 | </DL> |
---|
| 390 | </DD> |
---|
| 391 | </DL> |
---|
| 392 | <HR> |
---|
| 393 | |
---|
| 394 | <A NAME="isDir()"><!-- --></A><H3> |
---|
| 395 | isDir</H3> |
---|
| 396 | <PRE> |
---|
| 397 | public boolean <B>isDir</B>()</PRE> |
---|
| 398 | <DL> |
---|
| 399 | <DD>Is this a directory? |
---|
| 400 | <P> |
---|
| 401 | <DD><DL> |
---|
| 402 | </DL> |
---|
| 403 | </DD> |
---|
| 404 | <DD><DL> |
---|
| 405 | |
---|
| 406 | <DT><B>Returns:</B><DD>true if this is a directory</DL> |
---|
| 407 | </DD> |
---|
| 408 | </DL> |
---|
| 409 | <HR> |
---|
| 410 | |
---|
| 411 | <A NAME="getBlockSize()"><!-- --></A><H3> |
---|
| 412 | getBlockSize</H3> |
---|
| 413 | <PRE> |
---|
| 414 | public long <B>getBlockSize</B>()</PRE> |
---|
| 415 | <DL> |
---|
| 416 | <DD>Get the block size of the file. |
---|
| 417 | <P> |
---|
| 418 | <DD><DL> |
---|
| 419 | </DL> |
---|
| 420 | </DD> |
---|
| 421 | <DD><DL> |
---|
| 422 | |
---|
| 423 | <DT><B>Returns:</B><DD>the number of bytes</DL> |
---|
| 424 | </DD> |
---|
| 425 | </DL> |
---|
| 426 | <HR> |
---|
| 427 | |
---|
| 428 | <A NAME="getReplication()"><!-- --></A><H3> |
---|
| 429 | getReplication</H3> |
---|
| 430 | <PRE> |
---|
| 431 | public short <B>getReplication</B>()</PRE> |
---|
| 432 | <DL> |
---|
| 433 | <DD>Get the replication factor of a file. |
---|
| 434 | <P> |
---|
| 435 | <DD><DL> |
---|
| 436 | </DL> |
---|
| 437 | </DD> |
---|
| 438 | <DD><DL> |
---|
| 439 | |
---|
| 440 | <DT><B>Returns:</B><DD>the replication factor of a file.</DL> |
---|
| 441 | </DD> |
---|
| 442 | </DL> |
---|
| 443 | <HR> |
---|
| 444 | |
---|
| 445 | <A NAME="getModificationTime()"><!-- --></A><H3> |
---|
| 446 | getModificationTime</H3> |
---|
| 447 | <PRE> |
---|
| 448 | public long <B>getModificationTime</B>()</PRE> |
---|
| 449 | <DL> |
---|
| 450 | <DD>Get the modification time of the file. |
---|
| 451 | <P> |
---|
| 452 | <DD><DL> |
---|
| 453 | </DL> |
---|
| 454 | </DD> |
---|
| 455 | <DD><DL> |
---|
| 456 | |
---|
| 457 | <DT><B>Returns:</B><DD>the modification time of file in milliseconds since January 1, 1970 UTC.</DL> |
---|
| 458 | </DD> |
---|
| 459 | </DL> |
---|
| 460 | <HR> |
---|
| 461 | |
---|
| 462 | <A NAME="getAccessTime()"><!-- --></A><H3> |
---|
| 463 | getAccessTime</H3> |
---|
| 464 | <PRE> |
---|
| 465 | public long <B>getAccessTime</B>()</PRE> |
---|
| 466 | <DL> |
---|
| 467 | <DD>Get the access time of the file. |
---|
| 468 | <P> |
---|
| 469 | <DD><DL> |
---|
| 470 | </DL> |
---|
| 471 | </DD> |
---|
| 472 | <DD><DL> |
---|
| 473 | |
---|
| 474 | <DT><B>Returns:</B><DD>the access time of file in milliseconds since January 1, 1970 UTC.</DL> |
---|
| 475 | </DD> |
---|
| 476 | </DL> |
---|
| 477 | <HR> |
---|
| 478 | |
---|
| 479 | <A NAME="getPermission()"><!-- --></A><H3> |
---|
| 480 | getPermission</H3> |
---|
| 481 | <PRE> |
---|
| 482 | public <A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>getPermission</B>()</PRE> |
---|
| 483 | <DL> |
---|
| 484 | <DD>Get FsPermission associated with the file. |
---|
| 485 | <P> |
---|
| 486 | <DD><DL> |
---|
| 487 | </DL> |
---|
| 488 | </DD> |
---|
| 489 | <DD><DL> |
---|
| 490 | |
---|
| 491 | <DT><B>Returns:</B><DD>permssion. If a filesystem does not have a notion of permissions |
---|
| 492 | or if permissions could not be determined, then default |
---|
| 493 | permissions equivalent of "rwxrwxrwx" is returned.</DL> |
---|
| 494 | </DD> |
---|
| 495 | </DL> |
---|
| 496 | <HR> |
---|
| 497 | |
---|
| 498 | <A NAME="getOwner()"><!-- --></A><H3> |
---|
| 499 | getOwner</H3> |
---|
| 500 | <PRE> |
---|
| 501 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getOwner</B>()</PRE> |
---|
| 502 | <DL> |
---|
| 503 | <DD>Get the owner of the file. |
---|
| 504 | <P> |
---|
| 505 | <DD><DL> |
---|
| 506 | </DL> |
---|
| 507 | </DD> |
---|
| 508 | <DD><DL> |
---|
| 509 | |
---|
| 510 | <DT><B>Returns:</B><DD>owner of the file. The string could be empty if there is no |
---|
| 511 | notion of owner of a file in a filesystem or if it could not |
---|
| 512 | be determined (rare).</DL> |
---|
| 513 | </DD> |
---|
| 514 | </DL> |
---|
| 515 | <HR> |
---|
| 516 | |
---|
| 517 | <A NAME="getGroup()"><!-- --></A><H3> |
---|
| 518 | getGroup</H3> |
---|
| 519 | <PRE> |
---|
| 520 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getGroup</B>()</PRE> |
---|
| 521 | <DL> |
---|
| 522 | <DD>Get the group associated with the file. |
---|
| 523 | <P> |
---|
| 524 | <DD><DL> |
---|
| 525 | </DL> |
---|
| 526 | </DD> |
---|
| 527 | <DD><DL> |
---|
| 528 | |
---|
| 529 | <DT><B>Returns:</B><DD>group for the file. The string could be empty if there is no |
---|
| 530 | notion of group of a file in a filesystem or if it could not |
---|
| 531 | be determined (rare).</DL> |
---|
| 532 | </DD> |
---|
| 533 | </DL> |
---|
| 534 | <HR> |
---|
| 535 | |
---|
| 536 | <A NAME="getPath()"><!-- --></A><H3> |
---|
| 537 | getPath</H3> |
---|
| 538 | <PRE> |
---|
| 539 | public <A HREF="../../../../org/apache/hadoop/fs/Path.html" title="class in org.apache.hadoop.fs">Path</A> <B>getPath</B>()</PRE> |
---|
| 540 | <DL> |
---|
| 541 | <DD><DL> |
---|
| 542 | </DL> |
---|
| 543 | </DD> |
---|
| 544 | <DD><DL> |
---|
| 545 | </DL> |
---|
| 546 | </DD> |
---|
| 547 | </DL> |
---|
| 548 | <HR> |
---|
| 549 | |
---|
| 550 | <A NAME="setPermission(org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
| 551 | setPermission</H3> |
---|
| 552 | <PRE> |
---|
| 553 | protected void <B>setPermission</B>(<A HREF="../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</PRE> |
---|
| 554 | <DL> |
---|
| 555 | <DD>Sets permission. |
---|
| 556 | <P> |
---|
| 557 | <DD><DL> |
---|
| 558 | </DL> |
---|
| 559 | </DD> |
---|
| 560 | <DD><DL> |
---|
| 561 | <DT><B>Parameters:</B><DD><CODE>permission</CODE> - if permission is null, default value is set</DL> |
---|
| 562 | </DD> |
---|
| 563 | </DL> |
---|
| 564 | <HR> |
---|
| 565 | |
---|
| 566 | <A NAME="setOwner(java.lang.String)"><!-- --></A><H3> |
---|
| 567 | setOwner</H3> |
---|
| 568 | <PRE> |
---|
| 569 | protected void <B>setOwner</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> owner)</PRE> |
---|
| 570 | <DL> |
---|
| 571 | <DD>Sets owner. |
---|
| 572 | <P> |
---|
| 573 | <DD><DL> |
---|
| 574 | </DL> |
---|
| 575 | </DD> |
---|
| 576 | <DD><DL> |
---|
| 577 | <DT><B>Parameters:</B><DD><CODE>owner</CODE> - if it is null, default value is set</DL> |
---|
| 578 | </DD> |
---|
| 579 | </DL> |
---|
| 580 | <HR> |
---|
| 581 | |
---|
| 582 | <A NAME="setGroup(java.lang.String)"><!-- --></A><H3> |
---|
| 583 | setGroup</H3> |
---|
| 584 | <PRE> |
---|
| 585 | protected void <B>setGroup</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> group)</PRE> |
---|
| 586 | <DL> |
---|
| 587 | <DD>Sets group. |
---|
| 588 | <P> |
---|
| 589 | <DD><DL> |
---|
| 590 | </DL> |
---|
| 591 | </DD> |
---|
| 592 | <DD><DL> |
---|
| 593 | <DT><B>Parameters:</B><DD><CODE>group</CODE> - if it is null, default value is set</DL> |
---|
| 594 | </DD> |
---|
| 595 | </DL> |
---|
| 596 | <HR> |
---|
| 597 | |
---|
| 598 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
| 599 | write</H3> |
---|
| 600 | <PRE> |
---|
| 601 | public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out) |
---|
| 602 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 603 | <DL> |
---|
| 604 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">Writable</A></CODE></B></DD> |
---|
| 605 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
| 606 | <P> |
---|
| 607 | <DD><DL> |
---|
| 608 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
| 609 | </DD> |
---|
| 610 | <DD><DL> |
---|
| 611 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
| 612 | <DT><B>Throws:</B> |
---|
| 613 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 614 | </DD> |
---|
| 615 | </DL> |
---|
| 616 | <HR> |
---|
| 617 | |
---|
| 618 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
| 619 | readFields</H3> |
---|
| 620 | <PRE> |
---|
| 621 | public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
| 622 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
| 623 | <DL> |
---|
| 624 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">Writable</A></CODE></B></DD> |
---|
| 625 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
| 626 | |
---|
| 627 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
| 628 | existing object where possible.</p> |
---|
| 629 | <P> |
---|
| 630 | <DD><DL> |
---|
| 631 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
| 632 | </DD> |
---|
| 633 | <DD><DL> |
---|
| 634 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
| 635 | <DT><B>Throws:</B> |
---|
| 636 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
| 637 | </DD> |
---|
| 638 | </DL> |
---|
| 639 | <HR> |
---|
| 640 | |
---|
| 641 | <A NAME="compareTo(java.lang.Object)"><!-- --></A><H3> |
---|
| 642 | compareTo</H3> |
---|
| 643 | <PRE> |
---|
| 644 | public int <B>compareTo</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
---|
| 645 | <DL> |
---|
| 646 | <DD>Compare this object to another object |
---|
| 647 | <P> |
---|
| 648 | <DD><DL> |
---|
| 649 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true#compareTo(T)" title="class or interface in java.lang">compareTo</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A></CODE></DL> |
---|
| 650 | </DD> |
---|
| 651 | <DD><DL> |
---|
| 652 | <DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to be compared. |
---|
| 653 | <DT><B>Returns:</B><DD>a negative integer, zero, or a positive integer as this object |
---|
| 654 | is less than, equal to, or greater than the specified object. |
---|
| 655 | <DT><B>Throws:</B> |
---|
| 656 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</A></CODE> - if the specified object's is not of |
---|
| 657 | type FileStatus</DL> |
---|
| 658 | </DD> |
---|
| 659 | </DL> |
---|
| 660 | <HR> |
---|
| 661 | |
---|
| 662 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
---|
| 663 | equals</H3> |
---|
| 664 | <PRE> |
---|
| 665 | public boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> o)</PRE> |
---|
| 666 | <DL> |
---|
| 667 | <DD>Compare if this object is equal to another object |
---|
| 668 | <P> |
---|
| 669 | <DD><DL> |
---|
| 670 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
| 671 | </DD> |
---|
| 672 | <DD><DL> |
---|
| 673 | <DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to be compared. |
---|
| 674 | <DT><B>Returns:</B><DD>true if two file status has the same path name; false if not.</DL> |
---|
| 675 | </DD> |
---|
| 676 | </DL> |
---|
| 677 | <HR> |
---|
| 678 | |
---|
| 679 | <A NAME="hashCode()"><!-- --></A><H3> |
---|
| 680 | hashCode</H3> |
---|
| 681 | <PRE> |
---|
| 682 | public int <B>hashCode</B>()</PRE> |
---|
| 683 | <DL> |
---|
| 684 | <DD>Returns a hash code value for the object, which is defined as |
---|
| 685 | the hash code of the path name. |
---|
| 686 | <P> |
---|
| 687 | <DD><DL> |
---|
| 688 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
| 689 | </DD> |
---|
| 690 | <DD><DL> |
---|
| 691 | |
---|
| 692 | <DT><B>Returns:</B><DD>a hash code value for the path name.</DL> |
---|
| 693 | </DD> |
---|
| 694 | </DL> |
---|
| 695 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 696 | <HR> |
---|
| 697 | |
---|
| 698 | |
---|
| 699 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 700 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 701 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 702 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 703 | <TR> |
---|
| 704 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 705 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 706 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 707 | <TR ALIGN="center" VALIGN="top"> |
---|
| 708 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 709 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 710 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 711 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FileStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 712 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 713 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 714 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 715 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 716 | </TR> |
---|
| 717 | </TABLE> |
---|
| 718 | </TD> |
---|
| 719 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 720 | </EM> |
---|
| 721 | </TD> |
---|
| 722 | </TR> |
---|
| 723 | |
---|
| 724 | <TR> |
---|
| 725 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 726 | <A HREF="../../../../org/apache/hadoop/fs/FileChecksum.html" title="class in org.apache.hadoop.fs"><B>PREV CLASS</B></A> |
---|
| 727 | <A HREF="../../../../org/apache/hadoop/fs/FileSystem.html" title="class in org.apache.hadoop.fs"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 728 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 729 | <A HREF="../../../../index.html?org/apache/hadoop/fs/FileStatus.html" target="_top"><B>FRAMES</B></A> |
---|
| 730 | <A HREF="FileStatus.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 731 | <SCRIPT type="text/javascript"> |
---|
| 732 | <!-- |
---|
| 733 | if(window==top) { |
---|
| 734 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 735 | } |
---|
| 736 | //--> |
---|
| 737 | </SCRIPT> |
---|
| 738 | <NOSCRIPT> |
---|
| 739 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 740 | </NOSCRIPT> |
---|
| 741 | |
---|
| 742 | |
---|
| 743 | </FONT></TD> |
---|
| 744 | </TR> |
---|
| 745 | <TR> |
---|
| 746 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 747 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 748 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 749 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 750 | </TR> |
---|
| 751 | </TABLE> |
---|
| 752 | <A NAME="skip-navbar_bottom"></A> |
---|
| 753 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 754 | |
---|
| 755 | <HR> |
---|
| 756 | Copyright © 2009 The Apache Software Foundation |
---|
| 757 | </BODY> |
---|
| 758 | </HTML> |
---|