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 | FsPermission (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="FsPermission (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/FsPermission.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/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><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/permission/FsPermission.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="FsPermission.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 | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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 FsPermission</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.FsPermission</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>FsPermission</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 | A class for file/directory permissions. |
---|
108 | <P> |
---|
109 | |
---|
110 | <P> |
---|
111 | <HR> |
---|
112 | |
---|
113 | <P> |
---|
114 | <!-- =========== FIELD SUMMARY =========== --> |
---|
115 | |
---|
116 | <A NAME="field_summary"><!-- --></A> |
---|
117 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
118 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
119 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
120 | <B>Field Summary</B></FONT></TH> |
---|
121 | </TR> |
---|
122 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
123 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
124 | <CODE>static int</CODE></FONT></TD> |
---|
125 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#DEFAULT_UMASK">DEFAULT_UMASK</A></B></CODE> |
---|
126 | |
---|
127 | <BR> |
---|
128 | </TD> |
---|
129 | </TR> |
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
132 | <CODE>static <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> |
---|
133 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#UMASK_LABEL">UMASK_LABEL</A></B></CODE> |
---|
134 | |
---|
135 | <BR> |
---|
136 | umask property label</TD> |
---|
137 | </TR> |
---|
138 | </TABLE> |
---|
139 | |
---|
140 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
141 | |
---|
142 | <A NAME="constructor_summary"><!-- --></A> |
---|
143 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
144 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
145 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
146 | <B>Constructor Summary</B></FONT></TH> |
---|
147 | </TR> |
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
149 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#FsPermission(org.apache.hadoop.fs.permission.FsAction, org.apache.hadoop.fs.permission.FsAction, org.apache.hadoop.fs.permission.FsAction)">FsPermission</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> u, |
---|
150 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> g, |
---|
151 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> o)</CODE> |
---|
152 | |
---|
153 | <BR> |
---|
154 | Construct by the given <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>.</TD> |
---|
155 | </TR> |
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
157 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#FsPermission(org.apache.hadoop.fs.permission.FsPermission)">FsPermission</A></B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> other)</CODE> |
---|
158 | |
---|
159 | <BR> |
---|
160 | Copy constructor</TD> |
---|
161 | </TR> |
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
163 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#FsPermission(short)">FsPermission</A></B>(short mode)</CODE> |
---|
164 | |
---|
165 | <BR> |
---|
166 | Construct by the given mode.</TD> |
---|
167 | </TR> |
---|
168 | </TABLE> |
---|
169 | |
---|
170 | <!-- ========== METHOD SUMMARY =========== --> |
---|
171 | |
---|
172 | <A NAME="method_summary"><!-- --></A> |
---|
173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
174 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
175 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
176 | <B>Method Summary</B></FONT></TH> |
---|
177 | </TR> |
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
180 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
181 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.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> |
---|
182 | |
---|
183 | <BR> |
---|
184 | Apply a umask to this permission and return a new one</TD> |
---|
185 | </TR> |
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
187 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
188 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
189 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#createImmutable(short)">createImmutable</A></B>(short permission)</CODE> |
---|
190 | |
---|
191 | <BR> |
---|
192 | Create an immutable <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><CODE>FsPermission</CODE></A> object.</TD> |
---|
193 | </TR> |
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
196 | <CODE> boolean</CODE></FONT></TD> |
---|
197 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.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> obj)</CODE> |
---|
198 | |
---|
199 | <BR> |
---|
200 | </TD> |
---|
201 | </TR> |
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
204 | <CODE> void</CODE></FONT></TD> |
---|
205 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#fromShort(short)">fromShort</A></B>(short n)</CODE> |
---|
206 | |
---|
207 | <BR> |
---|
208 | </TD> |
---|
209 | </TR> |
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
212 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#getDefault()">getDefault</A></B>()</CODE> |
---|
214 | |
---|
215 | <BR> |
---|
216 | Get the default permission.</TD> |
---|
217 | </TR> |
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
220 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A></CODE></FONT></TD> |
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#getGroupAction()">getGroupAction</A></B>()</CODE> |
---|
222 | |
---|
223 | <BR> |
---|
224 | Return group <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>.</TD> |
---|
225 | </TR> |
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
228 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A></CODE></FONT></TD> |
---|
229 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#getOtherAction()">getOtherAction</A></B>()</CODE> |
---|
230 | |
---|
231 | <BR> |
---|
232 | Return other <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>.</TD> |
---|
233 | </TR> |
---|
234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
236 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
237 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#getUMask(org.apache.hadoop.conf.Configuration)">getUMask</A></B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</CODE> |
---|
238 | |
---|
239 | <BR> |
---|
240 | Get the user file creation mask (umask)</TD> |
---|
241 | </TR> |
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
244 | <CODE> <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A></CODE></FONT></TD> |
---|
245 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#getUserAction()">getUserAction</A></B>()</CODE> |
---|
246 | |
---|
247 | <BR> |
---|
248 | Return user <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>.</TD> |
---|
249 | </TR> |
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
252 | <CODE> int</CODE></FONT></TD> |
---|
253 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#hashCode()">hashCode</A></B>()</CODE> |
---|
254 | |
---|
255 | <BR> |
---|
256 | </TD> |
---|
257 | </TR> |
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
260 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
261 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.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> |
---|
262 | |
---|
263 | <BR> |
---|
264 | Create and initialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><CODE>FsPermission</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> |
---|
265 | </TR> |
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
268 | <CODE> void</CODE></FONT></TD> |
---|
269 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.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> |
---|
270 | |
---|
271 | <BR> |
---|
272 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
273 | </TR> |
---|
274 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
276 | <CODE>static void</CODE></FONT></TD> |
---|
277 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#setUMask(org.apache.hadoop.conf.Configuration, org.apache.hadoop.fs.permission.FsPermission)">setUMask</A></B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
278 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> umask)</CODE> |
---|
279 | |
---|
280 | <BR> |
---|
281 | Set the user file creation mask (umask)</TD> |
---|
282 | </TR> |
---|
283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
285 | <CODE> short</CODE></FONT></TD> |
---|
286 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#toShort()">toShort</A></B>()</CODE> |
---|
287 | |
---|
288 | <BR> |
---|
289 | Encode the object to a short.</TD> |
---|
290 | </TR> |
---|
291 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
293 | <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> |
---|
294 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#toString()">toString</A></B>()</CODE> |
---|
295 | |
---|
296 | <BR> |
---|
297 | </TD> |
---|
298 | </TR> |
---|
299 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
301 | <CODE>static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A></CODE></FONT></TD> |
---|
302 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#valueOf(java.lang.String)">valueOf</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> unixSymbolicPermission)</CODE> |
---|
303 | |
---|
304 | <BR> |
---|
305 | Create a FsPermission from a Unix symbolic permission string</TD> |
---|
306 | </TR> |
---|
307 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
308 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
309 | <CODE> void</CODE></FONT></TD> |
---|
310 | <TD><CODE><B><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.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> |
---|
311 | |
---|
312 | <BR> |
---|
313 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
314 | </TR> |
---|
315 | </TABLE> |
---|
316 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
317 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
318 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
319 | <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> |
---|
320 | </TR> |
---|
321 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
322 | <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#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> |
---|
323 | </TR> |
---|
324 | </TABLE> |
---|
325 | |
---|
326 | <P> |
---|
327 | |
---|
328 | <!-- ============ FIELD DETAIL =========== --> |
---|
329 | |
---|
330 | <A NAME="field_detail"><!-- --></A> |
---|
331 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
332 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
333 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
334 | <B>Field Detail</B></FONT></TH> |
---|
335 | </TR> |
---|
336 | </TABLE> |
---|
337 | |
---|
338 | <A NAME="UMASK_LABEL"><!-- --></A><H3> |
---|
339 | UMASK_LABEL</H3> |
---|
340 | <PRE> |
---|
341 | public static final <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>UMASK_LABEL</B></PRE> |
---|
342 | <DL> |
---|
343 | <DD>umask property label |
---|
344 | <P> |
---|
345 | <DL> |
---|
346 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.fs.permission.FsPermission.UMASK_LABEL">Constant Field Values</A></DL> |
---|
347 | </DL> |
---|
348 | <HR> |
---|
349 | |
---|
350 | <A NAME="DEFAULT_UMASK"><!-- --></A><H3> |
---|
351 | DEFAULT_UMASK</H3> |
---|
352 | <PRE> |
---|
353 | public static final int <B>DEFAULT_UMASK</B></PRE> |
---|
354 | <DL> |
---|
355 | <DL> |
---|
356 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.hadoop.fs.permission.FsPermission.DEFAULT_UMASK">Constant Field Values</A></DL> |
---|
357 | </DL> |
---|
358 | |
---|
359 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
360 | |
---|
361 | <A NAME="constructor_detail"><!-- --></A> |
---|
362 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
363 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
364 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
365 | <B>Constructor Detail</B></FONT></TH> |
---|
366 | </TR> |
---|
367 | </TABLE> |
---|
368 | |
---|
369 | <A NAME="FsPermission(org.apache.hadoop.fs.permission.FsAction, org.apache.hadoop.fs.permission.FsAction, org.apache.hadoop.fs.permission.FsAction)"><!-- --></A><H3> |
---|
370 | FsPermission</H3> |
---|
371 | <PRE> |
---|
372 | public <B>FsPermission</B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> u, |
---|
373 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> g, |
---|
374 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> o)</PRE> |
---|
375 | <DL> |
---|
376 | <DD>Construct by the given <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>. |
---|
377 | <P> |
---|
378 | <DL> |
---|
379 | <DT><B>Parameters:</B><DD><CODE>u</CODE> - user action<DD><CODE>g</CODE> - group action<DD><CODE>o</CODE> - other action</DL> |
---|
380 | </DL> |
---|
381 | <HR> |
---|
382 | |
---|
383 | <A NAME="FsPermission(short)"><!-- --></A><H3> |
---|
384 | FsPermission</H3> |
---|
385 | <PRE> |
---|
386 | public <B>FsPermission</B>(short mode)</PRE> |
---|
387 | <DL> |
---|
388 | <DD>Construct by the given mode. |
---|
389 | <P> |
---|
390 | <DL> |
---|
391 | <DT><B>Parameters:</B><DD><CODE>mode</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html#toShort()"><CODE>toShort()</CODE></A></DL> |
---|
392 | </DL> |
---|
393 | <HR> |
---|
394 | |
---|
395 | <A NAME="FsPermission(org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
396 | FsPermission</H3> |
---|
397 | <PRE> |
---|
398 | public <B>FsPermission</B>(<A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> other)</PRE> |
---|
399 | <DL> |
---|
400 | <DD>Copy constructor |
---|
401 | <P> |
---|
402 | <DL> |
---|
403 | <DT><B>Parameters:</B><DD><CODE>other</CODE> - other permission</DL> |
---|
404 | </DL> |
---|
405 | |
---|
406 | <!-- ============ METHOD DETAIL ========== --> |
---|
407 | |
---|
408 | <A NAME="method_detail"><!-- --></A> |
---|
409 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
410 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
411 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
412 | <B>Method Detail</B></FONT></TH> |
---|
413 | </TR> |
---|
414 | </TABLE> |
---|
415 | |
---|
416 | <A NAME="createImmutable(short)"><!-- --></A><H3> |
---|
417 | createImmutable</H3> |
---|
418 | <PRE> |
---|
419 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>createImmutable</B>(short permission)</PRE> |
---|
420 | <DL> |
---|
421 | <DD>Create an immutable <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><CODE>FsPermission</CODE></A> object. |
---|
422 | <P> |
---|
423 | <DD><DL> |
---|
424 | </DL> |
---|
425 | </DD> |
---|
426 | <DD><DL> |
---|
427 | </DL> |
---|
428 | </DD> |
---|
429 | </DL> |
---|
430 | <HR> |
---|
431 | |
---|
432 | <A NAME="getUserAction()"><!-- --></A><H3> |
---|
433 | getUserAction</H3> |
---|
434 | <PRE> |
---|
435 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> <B>getUserAction</B>()</PRE> |
---|
436 | <DL> |
---|
437 | <DD>Return user <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>. |
---|
438 | <P> |
---|
439 | <DD><DL> |
---|
440 | </DL> |
---|
441 | </DD> |
---|
442 | <DD><DL> |
---|
443 | </DL> |
---|
444 | </DD> |
---|
445 | </DL> |
---|
446 | <HR> |
---|
447 | |
---|
448 | <A NAME="getGroupAction()"><!-- --></A><H3> |
---|
449 | getGroupAction</H3> |
---|
450 | <PRE> |
---|
451 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> <B>getGroupAction</B>()</PRE> |
---|
452 | <DL> |
---|
453 | <DD>Return group <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>. |
---|
454 | <P> |
---|
455 | <DD><DL> |
---|
456 | </DL> |
---|
457 | </DD> |
---|
458 | <DD><DL> |
---|
459 | </DL> |
---|
460 | </DD> |
---|
461 | </DL> |
---|
462 | <HR> |
---|
463 | |
---|
464 | <A NAME="getOtherAction()"><!-- --></A><H3> |
---|
465 | getOtherAction</H3> |
---|
466 | <PRE> |
---|
467 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission">FsAction</A> <B>getOtherAction</B>()</PRE> |
---|
468 | <DL> |
---|
469 | <DD>Return other <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><CODE>FsAction</CODE></A>. |
---|
470 | <P> |
---|
471 | <DD><DL> |
---|
472 | </DL> |
---|
473 | </DD> |
---|
474 | <DD><DL> |
---|
475 | </DL> |
---|
476 | </DD> |
---|
477 | </DL> |
---|
478 | <HR> |
---|
479 | |
---|
480 | <A NAME="fromShort(short)"><!-- --></A><H3> |
---|
481 | fromShort</H3> |
---|
482 | <PRE> |
---|
483 | public void <B>fromShort</B>(short n)</PRE> |
---|
484 | <DL> |
---|
485 | <DD><DL> |
---|
486 | </DL> |
---|
487 | </DD> |
---|
488 | <DD><DL> |
---|
489 | </DL> |
---|
490 | </DD> |
---|
491 | </DL> |
---|
492 | <HR> |
---|
493 | |
---|
494 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
495 | write</H3> |
---|
496 | <PRE> |
---|
497 | 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) |
---|
498 | 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> |
---|
499 | <DL> |
---|
500 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
501 | <P> |
---|
502 | <DD><DL> |
---|
503 | <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> |
---|
504 | </DD> |
---|
505 | <DD><DL> |
---|
506 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
507 | <DT><B>Throws:</B> |
---|
508 | <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> |
---|
509 | </DD> |
---|
510 | </DL> |
---|
511 | <HR> |
---|
512 | |
---|
513 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
514 | readFields</H3> |
---|
515 | <PRE> |
---|
516 | 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) |
---|
517 | 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> |
---|
518 | <DL> |
---|
519 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
520 | |
---|
521 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
522 | existing object where possible.</p> |
---|
523 | <P> |
---|
524 | <DD><DL> |
---|
525 | <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> |
---|
526 | </DD> |
---|
527 | <DD><DL> |
---|
528 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
529 | <DT><B>Throws:</B> |
---|
530 | <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> |
---|
531 | </DD> |
---|
532 | </DL> |
---|
533 | <HR> |
---|
534 | |
---|
535 | <A NAME="read(java.io.DataInput)"><!-- --></A><H3> |
---|
536 | read</H3> |
---|
537 | <PRE> |
---|
538 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</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) |
---|
539 | 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> |
---|
540 | <DL> |
---|
541 | <DD>Create and initialize a <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission"><CODE>FsPermission</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>. |
---|
542 | <P> |
---|
543 | <DD><DL> |
---|
544 | </DL> |
---|
545 | </DD> |
---|
546 | <DD><DL> |
---|
547 | |
---|
548 | <DT><B>Throws:</B> |
---|
549 | <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> |
---|
550 | </DD> |
---|
551 | </DL> |
---|
552 | <HR> |
---|
553 | |
---|
554 | <A NAME="toShort()"><!-- --></A><H3> |
---|
555 | toShort</H3> |
---|
556 | <PRE> |
---|
557 | public short <B>toShort</B>()</PRE> |
---|
558 | <DL> |
---|
559 | <DD>Encode the object to a short. |
---|
560 | <P> |
---|
561 | <DD><DL> |
---|
562 | </DL> |
---|
563 | </DD> |
---|
564 | <DD><DL> |
---|
565 | </DL> |
---|
566 | </DD> |
---|
567 | </DL> |
---|
568 | <HR> |
---|
569 | |
---|
570 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
---|
571 | equals</H3> |
---|
572 | <PRE> |
---|
573 | 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> obj)</PRE> |
---|
574 | <DL> |
---|
575 | <DD> |
---|
576 | <P> |
---|
577 | <DD><DL> |
---|
578 | <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> |
---|
579 | </DD> |
---|
580 | <DD><DL> |
---|
581 | </DL> |
---|
582 | </DD> |
---|
583 | </DL> |
---|
584 | <HR> |
---|
585 | |
---|
586 | <A NAME="hashCode()"><!-- --></A><H3> |
---|
587 | hashCode</H3> |
---|
588 | <PRE> |
---|
589 | public int <B>hashCode</B>()</PRE> |
---|
590 | <DL> |
---|
591 | <DD> |
---|
592 | <P> |
---|
593 | <DD><DL> |
---|
594 | <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> |
---|
595 | </DD> |
---|
596 | <DD><DL> |
---|
597 | </DL> |
---|
598 | </DD> |
---|
599 | </DL> |
---|
600 | <HR> |
---|
601 | |
---|
602 | <A NAME="toString()"><!-- --></A><H3> |
---|
603 | toString</H3> |
---|
604 | <PRE> |
---|
605 | 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> |
---|
606 | <DL> |
---|
607 | <DD> |
---|
608 | <P> |
---|
609 | <DD><DL> |
---|
610 | <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> |
---|
611 | </DD> |
---|
612 | <DD><DL> |
---|
613 | </DL> |
---|
614 | </DD> |
---|
615 | </DL> |
---|
616 | <HR> |
---|
617 | |
---|
618 | <A NAME="applyUMask(org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
619 | applyUMask</H3> |
---|
620 | <PRE> |
---|
621 | public <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</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> |
---|
622 | <DL> |
---|
623 | <DD>Apply a umask to this permission and return a new one |
---|
624 | <P> |
---|
625 | <DD><DL> |
---|
626 | </DL> |
---|
627 | </DD> |
---|
628 | <DD><DL> |
---|
629 | </DL> |
---|
630 | </DD> |
---|
631 | </DL> |
---|
632 | <HR> |
---|
633 | |
---|
634 | <A NAME="getUMask(org.apache.hadoop.conf.Configuration)"><!-- --></A><H3> |
---|
635 | getUMask</H3> |
---|
636 | <PRE> |
---|
637 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>getUMask</B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf)</PRE> |
---|
638 | <DL> |
---|
639 | <DD>Get the user file creation mask (umask) |
---|
640 | <P> |
---|
641 | <DD><DL> |
---|
642 | </DL> |
---|
643 | </DD> |
---|
644 | <DD><DL> |
---|
645 | </DL> |
---|
646 | </DD> |
---|
647 | </DL> |
---|
648 | <HR> |
---|
649 | |
---|
650 | <A NAME="setUMask(org.apache.hadoop.conf.Configuration, org.apache.hadoop.fs.permission.FsPermission)"><!-- --></A><H3> |
---|
651 | setUMask</H3> |
---|
652 | <PRE> |
---|
653 | public static void <B>setUMask</B>(<A HREF="../../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
654 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> umask)</PRE> |
---|
655 | <DL> |
---|
656 | <DD>Set the user file creation mask (umask) |
---|
657 | <P> |
---|
658 | <DD><DL> |
---|
659 | </DL> |
---|
660 | </DD> |
---|
661 | <DD><DL> |
---|
662 | </DL> |
---|
663 | </DD> |
---|
664 | </DL> |
---|
665 | <HR> |
---|
666 | |
---|
667 | <A NAME="getDefault()"><!-- --></A><H3> |
---|
668 | getDefault</H3> |
---|
669 | <PRE> |
---|
670 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>getDefault</B>()</PRE> |
---|
671 | <DL> |
---|
672 | <DD>Get the default permission. |
---|
673 | <P> |
---|
674 | <DD><DL> |
---|
675 | </DL> |
---|
676 | </DD> |
---|
677 | <DD><DL> |
---|
678 | </DL> |
---|
679 | </DD> |
---|
680 | </DL> |
---|
681 | <HR> |
---|
682 | |
---|
683 | <A NAME="valueOf(java.lang.String)"><!-- --></A><H3> |
---|
684 | valueOf</H3> |
---|
685 | <PRE> |
---|
686 | public static <A HREF="../../../../../org/apache/hadoop/fs/permission/FsPermission.html" title="class in org.apache.hadoop.fs.permission">FsPermission</A> <B>valueOf</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> unixSymbolicPermission)</PRE> |
---|
687 | <DL> |
---|
688 | <DD>Create a FsPermission from a Unix symbolic permission string |
---|
689 | <P> |
---|
690 | <DD><DL> |
---|
691 | </DL> |
---|
692 | </DD> |
---|
693 | <DD><DL> |
---|
694 | <DT><B>Parameters:</B><DD><CODE>unixSymbolicPermission</CODE> - e.g. "-rw-rw-rw-"</DL> |
---|
695 | </DD> |
---|
696 | </DL> |
---|
697 | <!-- ========= END OF CLASS DATA ========= --> |
---|
698 | <HR> |
---|
699 | |
---|
700 | |
---|
701 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
702 | <A NAME="navbar_bottom"><!-- --></A> |
---|
703 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
704 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
705 | <TR> |
---|
706 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
707 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
708 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
709 | <TR ALIGN="center" VALIGN="top"> |
---|
710 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
711 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
712 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
713 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FsPermission.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
714 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
715 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
716 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
717 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
718 | </TR> |
---|
719 | </TABLE> |
---|
720 | </TD> |
---|
721 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
722 | </EM> |
---|
723 | </TD> |
---|
724 | </TR> |
---|
725 | |
---|
726 | <TR> |
---|
727 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
728 | <A HREF="../../../../../org/apache/hadoop/fs/permission/FsAction.html" title="enum in org.apache.hadoop.fs.permission"><B>PREV CLASS</B></A> |
---|
729 | <A HREF="../../../../../org/apache/hadoop/fs/permission/PermissionStatus.html" title="class in org.apache.hadoop.fs.permission"><B>NEXT CLASS</B></A></FONT></TD> |
---|
730 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
731 | <A HREF="../../../../../index.html?org/apache/hadoop/fs/permission/FsPermission.html" target="_top"><B>FRAMES</B></A> |
---|
732 | <A HREF="FsPermission.html" target="_top"><B>NO FRAMES</B></A> |
---|
733 | <SCRIPT type="text/javascript"> |
---|
734 | <!-- |
---|
735 | if(window==top) { |
---|
736 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
737 | } |
---|
738 | //--> |
---|
739 | </SCRIPT> |
---|
740 | <NOSCRIPT> |
---|
741 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
742 | </NOSCRIPT> |
---|
743 | |
---|
744 | |
---|
745 | </FONT></TD> |
---|
746 | </TR> |
---|
747 | <TR> |
---|
748 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
749 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
750 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
751 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
752 | </TR> |
---|
753 | </TABLE> |
---|
754 | <A NAME="skip-navbar_bottom"></A> |
---|
755 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
756 | |
---|
757 | <HR> |
---|
758 | Copyright © 2009 The Apache Software Foundation |
---|
759 | </BODY> |
---|
760 | </HTML> |
---|