[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:52 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | PermissionStatus (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="PermissionStatus (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/PermissionStatus.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/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><B>PREV CLASS</B></A> |
---|
| 59 | NEXT CLASS</FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/permission/PermissionStatus.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="PermissionStatus.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.permission</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class PermissionStatus</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.permission.PermissionStatus</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><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>PermissionStatus</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></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | Store permission related information. |
---|
| 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/permission/PermissionStatus.html#PermissionStatus(java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)">PermissionStatus</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> user, |
---|
| 125 | <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, |
---|
| 126 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</CODE> |
---|
| 127 | |
---|
| 128 | <BR> |
---|
| 129 | Constructor</TD> |
---|
| 130 | </TR> |
---|
| 131 | </TABLE> |
---|
| 132 | |
---|
| 133 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 134 | |
---|
| 135 | <A NAME="method_summary"><!-- --></A> |
---|
| 136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 138 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 139 | <B>Method Summary</B></FONT></TH> |
---|
| 140 | </TR> |
---|
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 143 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A></CODE></FONT></TD> |
---|
| 144 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#applyUMask(org.apache.hadoop.fs.permission.FsPermission)">applyUMask</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> umask)</CODE> |
---|
| 145 | |
---|
| 146 | <BR> |
---|
| 147 | Apply umask.</TD> |
---|
| 148 | </TR> |
---|
| 149 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 151 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A></CODE></FONT></TD> |
---|
| 152 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#createImmutable(java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)">createImmutable</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> user, |
---|
| 153 | <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, |
---|
| 154 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</CODE> |
---|
| 155 | |
---|
| 156 | <BR> |
---|
| 157 | Create an immutable <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> object.</TD> |
---|
| 158 | </TR> |
---|
| 159 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 161 | <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> |
---|
| 162 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#getGroupName()">getGroupName</A></B>()</CODE> |
---|
| 163 | |
---|
| 164 | <BR> |
---|
| 165 | Return group name</TD> |
---|
| 166 | </TR> |
---|
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 169 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
| 170 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#getPermission()">getPermission</A></B>()</CODE> |
---|
| 171 | |
---|
| 172 | <BR> |
---|
| 173 | Return permission</TD> |
---|
| 174 | </TR> |
---|
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 177 | <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> |
---|
| 178 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#getUserName()">getUserName</A></B>()</CODE> |
---|
| 179 | |
---|
| 180 | <BR> |
---|
| 181 | Return user name</TD> |
---|
| 182 | </TR> |
---|
| 183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 185 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A></CODE></FONT></TD> |
---|
| 186 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#read(java.io.DataInput)">read</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> |
---|
| 187 | |
---|
| 188 | <BR> |
---|
| 189 | Create and initialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> from <A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io"><CODE>DataInput</CODE></A>.</TD> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE> void</CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.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> |
---|
| 195 | |
---|
| 196 | <BR> |
---|
| 197 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
| 198 | </TR> |
---|
| 199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 201 | <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> |
---|
| 202 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#toString()">toString</A></B>()</CODE> |
---|
| 203 | |
---|
| 204 | <BR> |
---|
| 205 | </TD> |
---|
| 206 | </TR> |
---|
| 207 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 209 | <CODE> void</CODE></FONT></TD> |
---|
| 210 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.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> |
---|
| 211 | |
---|
| 212 | <BR> |
---|
| 213 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
| 214 | </TR> |
---|
| 215 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 217 | <CODE>static void</CODE></FONT></TD> |
---|
| 218 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html#write(java.io.DataOutput, java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)">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, |
---|
| 219 | <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> username, |
---|
| 220 | <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> groupname, |
---|
| 221 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</CODE> |
---|
| 222 | |
---|
| 223 | <BR> |
---|
| 224 | Serialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> from its base components.</TD> |
---|
| 225 | </TR> |
---|
| 226 | </TABLE> |
---|
| 227 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 228 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 229 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 230 | <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> |
---|
| 231 | </TR> |
---|
| 232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 233 | <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#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> |
---|
| 234 | </TR> |
---|
| 235 | </TABLE> |
---|
| 236 | |
---|
| 237 | <P> |
---|
| 238 | |
---|
| 239 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 240 | |
---|
| 241 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 242 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 243 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 244 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 245 | <B>Constructor Detail</B></FONT></TH> |
---|
| 246 | </TR> |
---|
| 247 | </TABLE> |
---|
| 248 | |
---|
| 249 | <A NAME="PermissionStatus(java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
| 250 | PermissionStatus</H3> |
---|
| 251 | <PRE> |
---|
| 252 | public <B>PermissionStatus</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> user, |
---|
| 253 | <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, |
---|
| 254 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</PRE> |
---|
| 255 | <DL> |
---|
| 256 | <DD>Constructor |
---|
| 257 | <P> |
---|
| 258 | </DL> |
---|
| 259 | |
---|
| 260 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 261 | |
---|
| 262 | <A NAME="method_detail"><!-- --></A> |
---|
| 263 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 264 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 265 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 266 | <B>Method Detail</B></FONT></TH> |
---|
| 267 | </TR> |
---|
| 268 | </TABLE> |
---|
| 269 | |
---|
| 270 | <A NAME="createImmutable(java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
| 271 | createImmutable</H3> |
---|
| 272 | <PRE> |
---|
| 273 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A> <B>createImmutable</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> user, |
---|
| 274 | <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, |
---|
| 275 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission)</PRE> |
---|
| 276 | <DL> |
---|
| 277 | <DD>Create an immutable <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> object. |
---|
| 278 | <P> |
---|
| 279 | <DD><DL> |
---|
| 280 | </DL> |
---|
| 281 | </DD> |
---|
| 282 | <DD><DL> |
---|
| 283 | </DL> |
---|
| 284 | </DD> |
---|
| 285 | </DL> |
---|
| 286 | <HR> |
---|
| 287 | |
---|
| 288 | <A NAME="getUserName()"><!-- --></A><H3> |
---|
| 289 | getUserName</H3> |
---|
| 290 | <PRE> |
---|
| 291 | 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>getUserName</B>()</PRE> |
---|
| 292 | <DL> |
---|
| 293 | <DD>Return user name |
---|
| 294 | <P> |
---|
| 295 | <DD><DL> |
---|
| 296 | </DL> |
---|
| 297 | </DD> |
---|
| 298 | <DD><DL> |
---|
| 299 | </DL> |
---|
| 300 | </DD> |
---|
| 301 | </DL> |
---|
| 302 | <HR> |
---|
| 303 | |
---|
| 304 | <A NAME="getGroupName()"><!-- --></A><H3> |
---|
| 305 | getGroupName</H3> |
---|
| 306 | <PRE> |
---|
| 307 | 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>getGroupName</B>()</PRE> |
---|
| 308 | <DL> |
---|
| 309 | <DD>Return group name |
---|
| 310 | <P> |
---|
| 311 | <DD><DL> |
---|
| 312 | </DL> |
---|
| 313 | </DD> |
---|
| 314 | <DD><DL> |
---|
| 315 | </DL> |
---|
| 316 | </DD> |
---|
| 317 | </DL> |
---|
| 318 | <HR> |
---|
| 319 | |
---|
| 320 | <A NAME="getPermission()"><!-- --></A><H3> |
---|
| 321 | getPermission</H3> |
---|
| 322 | <PRE> |
---|
| 323 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>getPermission</B>()</PRE> |
---|
| 324 | <DL> |
---|
| 325 | <DD>Return permission |
---|
| 326 | <P> |
---|
| 327 | <DD><DL> |
---|
| 328 | </DL> |
---|
| 329 | </DD> |
---|
| 330 | <DD><DL> |
---|
| 331 | </DL> |
---|
| 332 | </DD> |
---|
| 333 | </DL> |
---|
| 334 | <HR> |
---|
| 335 | |
---|
| 336 | <A NAME="applyUMask(org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
| 337 | applyUMask</H3> |
---|
| 338 | <PRE> |
---|
| 339 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A> <B>applyUMask</B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> umask)</PRE> |
---|
| 340 | <DL> |
---|
| 341 | <DD>Apply umask. |
---|
| 342 | <P> |
---|
| 343 | <DD><DL> |
---|
| 344 | </DL> |
---|
| 345 | </DD> |
---|
| 346 | <DD><DL> |
---|
| 347 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#applyUMask(org.apache.hadoop.fs.permission.FsPermission)"><CODE>FsPermission.applyUMask(FsPermission)</CODE></A></DL> |
---|
| 348 | </DD> |
---|
| 349 | </DL> |
---|
| 350 | <HR> |
---|
| 351 | |
---|
| 352 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
| 353 | readFields</H3> |
---|
| 354 | <PRE> |
---|
| 355 | 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) |
---|
| 356 | 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> |
---|
| 357 | <DL> |
---|
| 358 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
| 359 | |
---|
| 360 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
| 361 | existing object where possible.</p> |
---|
| 362 | <P> |
---|
| 363 | <DD><DL> |
---|
| 364 | <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> |
---|
| 365 | </DD> |
---|
| 366 | <DD><DL> |
---|
| 367 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
| 368 | <DT><B>Throws:</B> |
---|
| 369 | <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> |
---|
| 370 | </DD> |
---|
| 371 | </DL> |
---|
| 372 | <HR> |
---|
| 373 | |
---|
| 374 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
| 375 | write</H3> |
---|
| 376 | <PRE> |
---|
| 377 | 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) |
---|
| 378 | 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> |
---|
| 379 | <DL> |
---|
| 380 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
| 381 | <P> |
---|
| 382 | <DD><DL> |
---|
| 383 | <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> |
---|
| 384 | </DD> |
---|
| 385 | <DD><DL> |
---|
| 386 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
| 387 | <DT><B>Throws:</B> |
---|
| 388 | <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> |
---|
| 389 | </DD> |
---|
| 390 | </DL> |
---|
| 391 | <HR> |
---|
| 392 | |
---|
| 393 | <A NAME="read(java.io.DataInput)"><!-- --></A><H3> |
---|
| 394 | read</H3> |
---|
| 395 | <PRE> |
---|
| 396 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission">PermissionStatus</A> <B>read</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) |
---|
| 397 | 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> |
---|
| 398 | <DL> |
---|
| 399 | <DD>Create and initialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> from <A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io"><CODE>DataInput</CODE></A>. |
---|
| 400 | <P> |
---|
| 401 | <DD><DL> |
---|
| 402 | </DL> |
---|
| 403 | </DD> |
---|
| 404 | <DD><DL> |
---|
| 405 | |
---|
| 406 | <DT><B>Throws:</B> |
---|
| 407 | <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> |
---|
| 408 | </DD> |
---|
| 409 | </DL> |
---|
| 410 | <HR> |
---|
| 411 | |
---|
| 412 | <A NAME="write(java.io.DataOutput, java.lang.String, java.lang.String, org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
| 413 | write</H3> |
---|
| 414 | <PRE> |
---|
| 415 | public static 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, |
---|
| 416 | <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> username, |
---|
| 417 | <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> groupname, |
---|
| 418 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> permission) |
---|
| 419 | 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> |
---|
| 420 | <DL> |
---|
| 421 | <DD>Serialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><CODE>PermissionStatus</CODE></A> from its base components. |
---|
| 422 | <P> |
---|
| 423 | <DD><DL> |
---|
| 424 | </DL> |
---|
| 425 | </DD> |
---|
| 426 | <DD><DL> |
---|
| 427 | |
---|
| 428 | <DT><B>Throws:</B> |
---|
| 429 | <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> |
---|
| 430 | </DD> |
---|
| 431 | </DL> |
---|
| 432 | <HR> |
---|
| 433 | |
---|
| 434 | <A NAME="toString()"><!-- --></A><H3> |
---|
| 435 | toString</H3> |
---|
| 436 | <PRE> |
---|
| 437 | 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>toString</B>()</PRE> |
---|
| 438 | <DL> |
---|
| 439 | <DD> |
---|
| 440 | <P> |
---|
| 441 | <DD><DL> |
---|
| 442 | <DT><B>Overrides:</B><DD><CODE><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></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> |
---|
| 443 | </DD> |
---|
| 444 | <DD><DL> |
---|
| 445 | </DL> |
---|
| 446 | </DD> |
---|
| 447 | </DL> |
---|
| 448 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 449 | <HR> |
---|
| 450 | |
---|
| 451 | |
---|
| 452 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 453 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 454 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 455 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 456 | <TR> |
---|
| 457 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 458 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 459 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 460 | <TR ALIGN="center" VALIGN="top"> |
---|
| 461 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 462 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 463 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 464 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PermissionStatus.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 465 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 466 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 467 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 468 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 469 | </TR> |
---|
| 470 | </TABLE> |
---|
| 471 | </TD> |
---|
| 472 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 473 | </EM> |
---|
| 474 | </TD> |
---|
| 475 | </TR> |
---|
| 476 | |
---|
| 477 | <TR> |
---|
| 478 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 479 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><B>PREV CLASS</B></A> |
---|
| 480 | NEXT CLASS</FONT></TD> |
---|
| 481 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 482 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/permission/PermissionStatus.html" target="_top"><B>FRAMES</B></A> |
---|
| 483 | <A HREF="PermissionStatus.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 484 | <SCRIPT type="text/javascript"> |
---|
| 485 | <!-- |
---|
| 486 | if(window==top) { |
---|
| 487 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 488 | } |
---|
| 489 | //--> |
---|
| 490 | </SCRIPT> |
---|
| 491 | <NOSCRIPT> |
---|
| 492 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 493 | </NOSCRIPT> |
---|
| 494 | |
---|
| 495 | |
---|
| 496 | </FONT></TD> |
---|
| 497 | </TR> |
---|
| 498 | <TR> |
---|
| 499 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 500 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 501 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 502 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 503 | </TR> |
---|
| 504 | </TABLE> |
---|
| 505 | <A NAME="skip-navbar_bottom"></A> |
---|
| 506 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 507 | |
---|
| 508 | <HR> |
---|
| 509 | Copyright © 2009 The Apache Software Foundation |
---|
| 510 | </BODY> |
---|
| 511 | </HTML> |
---|