[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:58 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | StreamUtil (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="StreamUtil (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/StreamUtil.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/streaming/StreamKeyValUtil.html" title="class in org.apache.hadoop.streaming"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/streaming/StreamXmlRecordReader.html" title="class in org.apache.hadoop.streaming"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/streaming/StreamUtil.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="StreamUtil.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.streaming</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class StreamUtil</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.streaming.StreamUtil</B> |
---|
| 97 | </PRE> |
---|
| 98 | <HR> |
---|
| 99 | <DL> |
---|
| 100 | <DT><PRE>public class <B>StreamUtil</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></DL> |
---|
| 101 | </PRE> |
---|
| 102 | |
---|
| 103 | <P> |
---|
| 104 | Utilities not available elsewhere in Hadoop. |
---|
| 105 | <P> |
---|
| 106 | |
---|
| 107 | <P> |
---|
| 108 | <HR> |
---|
| 109 | |
---|
| 110 | <P> |
---|
| 111 | |
---|
| 112 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 113 | |
---|
| 114 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 117 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 118 | <B>Constructor Summary</B></FONT></TH> |
---|
| 119 | </TR> |
---|
| 120 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 121 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#StreamUtil()">StreamUtil</A></B>()</CODE> |
---|
| 122 | |
---|
| 123 | <BR> |
---|
| 124 | </TD> |
---|
| 125 | </TR> |
---|
| 126 | </TABLE> |
---|
| 127 | |
---|
| 128 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 129 | |
---|
| 130 | <A NAME="method_summary"><!-- --></A> |
---|
| 131 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 132 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 133 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 134 | <B>Method Summary</B></FONT></TH> |
---|
| 135 | </TR> |
---|
| 136 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 137 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 138 | <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> |
---|
| 139 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#collate(java.util.List, java.lang.String)">collate</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> args, |
---|
| 140 | <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> sep)</CODE> |
---|
| 141 | |
---|
| 142 | <BR> |
---|
| 143 | </TD> |
---|
| 144 | </TR> |
---|
| 145 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 147 | <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> |
---|
| 148 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#collate(java.lang.Object[], java.lang.String)">collate</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>[] args, |
---|
| 149 | <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> sep)</CODE> |
---|
| 150 | |
---|
| 151 | <BR> |
---|
| 152 | </TD> |
---|
| 153 | </TR> |
---|
| 154 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 155 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 156 | <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> |
---|
| 157 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#dfmt(double)">dfmt</A></B>(double d)</CODE> |
---|
| 158 | |
---|
| 159 | <BR> |
---|
| 160 | </TD> |
---|
| 161 | </TR> |
---|
| 162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 164 | <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> |
---|
| 165 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#findInClasspath(java.lang.String)">findInClasspath</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> className)</CODE> |
---|
| 166 | |
---|
| 167 | <BR> |
---|
| 168 | </TD> |
---|
| 169 | </TR> |
---|
| 170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 172 | <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> |
---|
| 173 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#findInClasspath(java.lang.String, java.lang.ClassLoader)">findInClasspath</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> className, |
---|
| 174 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> loader)</CODE> |
---|
| 175 | |
---|
| 176 | <BR> |
---|
| 177 | </TD> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <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> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#formatBytes(long)">formatBytes</A></B>(long numBytes)</CODE> |
---|
| 183 | |
---|
| 184 | <BR> |
---|
| 185 | </TD> |
---|
| 186 | </TR> |
---|
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 189 | <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> |
---|
| 190 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#formatBytes2(long)">formatBytes2</A></B>(long numBytes)</CODE> |
---|
| 191 | |
---|
| 192 | <BR> |
---|
| 193 | </TD> |
---|
| 194 | </TR> |
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 197 | <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> |
---|
| 198 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#getBoundAntProperty(java.lang.String, java.lang.String)">getBoundAntProperty</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> name, |
---|
| 199 | <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> defaultVal)</CODE> |
---|
| 200 | |
---|
| 201 | <BR> |
---|
| 202 | </TD> |
---|
| 203 | </TR> |
---|
| 204 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 206 | <CODE>static <A HREF="../../../../org/apache/hadoop/mapred/FileSplit.html" title="class in org.apache.hadoop.mapred">FileSplit</A></CODE></FONT></TD> |
---|
| 207 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#getCurrentSplit(org.apache.hadoop.mapred.JobConf)">getCurrentSplit</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
| 208 | |
---|
| 209 | <BR> |
---|
| 210 | </TD> |
---|
| 211 | </TR> |
---|
| 212 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 213 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 214 | <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> |
---|
| 215 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#getSpace(int)">getSpace</A></B>(int len)</CODE> |
---|
| 216 | |
---|
| 217 | <BR> |
---|
| 218 | </TD> |
---|
| 219 | </TR> |
---|
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 222 | <CODE>static org.apache.hadoop.streaming.StreamUtil.TaskId</CODE></FONT></TD> |
---|
| 223 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#getTaskInfo(org.apache.hadoop.mapred.JobConf)">getTaskInfo</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
| 224 | |
---|
| 225 | <BR> |
---|
| 226 | </TD> |
---|
| 227 | </TR> |
---|
| 228 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 229 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 230 | <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A></CODE></FONT></TD> |
---|
| 231 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#goodClassOrNull(org.apache.hadoop.conf.Configuration, java.lang.String, java.lang.String)">goodClassOrNull</A></B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 232 | <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> className, |
---|
| 233 | <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> defaultPackage)</CODE> |
---|
| 234 | |
---|
| 235 | <BR> |
---|
| 236 | It may seem strange to silently switch behaviour when a String |
---|
| 237 | is not a classname; the reason is simplified Usage:</TD> |
---|
| 238 | </TR> |
---|
| 239 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 241 | <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> |
---|
| 242 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#ifmt(double)">ifmt</A></B>(double d)</CODE> |
---|
| 243 | |
---|
| 244 | <BR> |
---|
| 245 | </TD> |
---|
| 246 | </TR> |
---|
| 247 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 249 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 250 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#isCygwin()">isCygwin</A></B>()</CODE> |
---|
| 251 | |
---|
| 252 | <BR> |
---|
| 253 | </TD> |
---|
| 254 | </TR> |
---|
| 255 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 257 | <CODE>static boolean</CODE></FONT></TD> |
---|
| 258 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#isLocalJobTracker(org.apache.hadoop.mapred.JobConf)">isLocalJobTracker</A></B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</CODE> |
---|
| 259 | |
---|
| 260 | <BR> |
---|
| 261 | </TD> |
---|
| 262 | </TR> |
---|
| 263 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 264 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 265 | <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> |
---|
| 266 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#ljustify(java.lang.String, int)">ljustify</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> s, |
---|
| 267 | int width)</CODE> |
---|
| 268 | |
---|
| 269 | <BR> |
---|
| 270 | </TD> |
---|
| 271 | </TR> |
---|
| 272 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 274 | <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> |
---|
| 275 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#localizeBin(java.lang.String)">localizeBin</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> path)</CODE> |
---|
| 276 | |
---|
| 277 | <BR> |
---|
| 278 | </TD> |
---|
| 279 | </TR> |
---|
| 280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 282 | <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> |
---|
| 283 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#makeJavaCommand(java.lang.Class, java.lang.String[])">makeJavaCommand</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> main, |
---|
| 284 | <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>[] argv)</CODE> |
---|
| 285 | |
---|
| 286 | <BR> |
---|
| 287 | </TD> |
---|
| 288 | </TR> |
---|
| 289 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 290 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 291 | <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> |
---|
| 292 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#regexpEscape(java.lang.String)">regexpEscape</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> plain)</CODE> |
---|
| 293 | |
---|
| 294 | <BR> |
---|
| 295 | </TD> |
---|
| 296 | </TR> |
---|
| 297 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 298 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 299 | <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> |
---|
| 300 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#rjustify(java.lang.String, int)">rjustify</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> s, |
---|
| 301 | int width)</CODE> |
---|
| 302 | |
---|
| 303 | <BR> |
---|
| 304 | </TD> |
---|
| 305 | </TR> |
---|
| 306 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 307 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 308 | <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> |
---|
| 309 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#safeGetCanonicalPath(java.io.File)">safeGetCanonicalPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> f)</CODE> |
---|
| 310 | |
---|
| 311 | <BR> |
---|
| 312 | </TD> |
---|
| 313 | </TR> |
---|
| 314 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 315 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 316 | <CODE>static void</CODE></FONT></TD> |
---|
| 317 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/streaming/StreamUtil.html#touch(java.io.File)">touch</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file)</CODE> |
---|
| 318 | |
---|
| 319 | <BR> |
---|
| 320 | </TD> |
---|
| 321 | </TR> |
---|
| 322 | </TABLE> |
---|
| 323 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 324 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 325 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 326 | <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> |
---|
| 327 | </TR> |
---|
| 328 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 329 | <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#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> |
---|
| 330 | </TR> |
---|
| 331 | </TABLE> |
---|
| 332 | |
---|
| 333 | <P> |
---|
| 334 | |
---|
| 335 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 336 | |
---|
| 337 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 338 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 339 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 340 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 341 | <B>Constructor Detail</B></FONT></TH> |
---|
| 342 | </TR> |
---|
| 343 | </TABLE> |
---|
| 344 | |
---|
| 345 | <A NAME="StreamUtil()"><!-- --></A><H3> |
---|
| 346 | StreamUtil</H3> |
---|
| 347 | <PRE> |
---|
| 348 | public <B>StreamUtil</B>()</PRE> |
---|
| 349 | <DL> |
---|
| 350 | </DL> |
---|
| 351 | |
---|
| 352 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 353 | |
---|
| 354 | <A NAME="method_detail"><!-- --></A> |
---|
| 355 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 356 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 357 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 358 | <B>Method Detail</B></FONT></TH> |
---|
| 359 | </TR> |
---|
| 360 | </TABLE> |
---|
| 361 | |
---|
| 362 | <A NAME="goodClassOrNull(org.apache.hadoop.conf.Configuration, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 363 | goodClassOrNull</H3> |
---|
| 364 | <PRE> |
---|
| 365 | public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> <B>goodClassOrNull</B>(<A HREF="../../../../org/apache/hadoop/conf/Configuration.html" title="class in org.apache.hadoop.conf">Configuration</A> conf, |
---|
| 366 | <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> className, |
---|
| 367 | <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> defaultPackage)</PRE> |
---|
| 368 | <DL> |
---|
| 369 | <DD>It may seem strange to silently switch behaviour when a String |
---|
| 370 | is not a classname; the reason is simplified Usage:<pre> |
---|
| 371 | -mapper [classname | program ] |
---|
| 372 | instead of the explicit Usage: |
---|
| 373 | [-mapper program | -javamapper classname], -mapper and -javamapper are mutually exclusive. |
---|
| 374 | (repeat for -reducer, -combiner) </pre> |
---|
| 375 | <P> |
---|
| 376 | <DD><DL> |
---|
| 377 | </DL> |
---|
| 378 | </DD> |
---|
| 379 | </DL> |
---|
| 380 | <HR> |
---|
| 381 | |
---|
| 382 | <A NAME="findInClasspath(java.lang.String)"><!-- --></A><H3> |
---|
| 383 | findInClasspath</H3> |
---|
| 384 | <PRE> |
---|
| 385 | public 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> <B>findInClasspath</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> className)</PRE> |
---|
| 386 | <DL> |
---|
| 387 | <DD><DL> |
---|
| 388 | </DL> |
---|
| 389 | </DD> |
---|
| 390 | </DL> |
---|
| 391 | <HR> |
---|
| 392 | |
---|
| 393 | <A NAME="findInClasspath(java.lang.String, java.lang.ClassLoader)"><!-- --></A><H3> |
---|
| 394 | findInClasspath</H3> |
---|
| 395 | <PRE> |
---|
| 396 | public 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> <B>findInClasspath</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> className, |
---|
| 397 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A> loader)</PRE> |
---|
| 398 | <DL> |
---|
| 399 | <DD><DL> |
---|
| 400 | |
---|
| 401 | <DT><B>Returns:</B><DD>a jar file path or a base directory or null if not found.</DL> |
---|
| 402 | </DD> |
---|
| 403 | </DL> |
---|
| 404 | <HR> |
---|
| 405 | |
---|
| 406 | <A NAME="dfmt(double)"><!-- --></A><H3> |
---|
| 407 | dfmt</H3> |
---|
| 408 | <PRE> |
---|
| 409 | public 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> <B>dfmt</B>(double d)</PRE> |
---|
| 410 | <DL> |
---|
| 411 | <DD><DL> |
---|
| 412 | </DL> |
---|
| 413 | </DD> |
---|
| 414 | </DL> |
---|
| 415 | <HR> |
---|
| 416 | |
---|
| 417 | <A NAME="ifmt(double)"><!-- --></A><H3> |
---|
| 418 | ifmt</H3> |
---|
| 419 | <PRE> |
---|
| 420 | public 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> <B>ifmt</B>(double d)</PRE> |
---|
| 421 | <DL> |
---|
| 422 | <DD><DL> |
---|
| 423 | </DL> |
---|
| 424 | </DD> |
---|
| 425 | </DL> |
---|
| 426 | <HR> |
---|
| 427 | |
---|
| 428 | <A NAME="formatBytes(long)"><!-- --></A><H3> |
---|
| 429 | formatBytes</H3> |
---|
| 430 | <PRE> |
---|
| 431 | public 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> <B>formatBytes</B>(long numBytes)</PRE> |
---|
| 432 | <DL> |
---|
| 433 | <DD><DL> |
---|
| 434 | </DL> |
---|
| 435 | </DD> |
---|
| 436 | </DL> |
---|
| 437 | <HR> |
---|
| 438 | |
---|
| 439 | <A NAME="formatBytes2(long)"><!-- --></A><H3> |
---|
| 440 | formatBytes2</H3> |
---|
| 441 | <PRE> |
---|
| 442 | public 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> <B>formatBytes2</B>(long numBytes)</PRE> |
---|
| 443 | <DL> |
---|
| 444 | <DD><DL> |
---|
| 445 | </DL> |
---|
| 446 | </DD> |
---|
| 447 | </DL> |
---|
| 448 | <HR> |
---|
| 449 | |
---|
| 450 | <A NAME="regexpEscape(java.lang.String)"><!-- --></A><H3> |
---|
| 451 | regexpEscape</H3> |
---|
| 452 | <PRE> |
---|
| 453 | public 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> <B>regexpEscape</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> plain)</PRE> |
---|
| 454 | <DL> |
---|
| 455 | <DD><DL> |
---|
| 456 | </DL> |
---|
| 457 | </DD> |
---|
| 458 | </DL> |
---|
| 459 | <HR> |
---|
| 460 | |
---|
| 461 | <A NAME="safeGetCanonicalPath(java.io.File)"><!-- --></A><H3> |
---|
| 462 | safeGetCanonicalPath</H3> |
---|
| 463 | <PRE> |
---|
| 464 | public 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> <B>safeGetCanonicalPath</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> f)</PRE> |
---|
| 465 | <DL> |
---|
| 466 | <DD><DL> |
---|
| 467 | </DL> |
---|
| 468 | </DD> |
---|
| 469 | </DL> |
---|
| 470 | <HR> |
---|
| 471 | |
---|
| 472 | <A NAME="rjustify(java.lang.String, int)"><!-- --></A><H3> |
---|
| 473 | rjustify</H3> |
---|
| 474 | <PRE> |
---|
| 475 | public 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> <B>rjustify</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> s, |
---|
| 476 | int width)</PRE> |
---|
| 477 | <DL> |
---|
| 478 | <DD><DL> |
---|
| 479 | </DL> |
---|
| 480 | </DD> |
---|
| 481 | </DL> |
---|
| 482 | <HR> |
---|
| 483 | |
---|
| 484 | <A NAME="ljustify(java.lang.String, int)"><!-- --></A><H3> |
---|
| 485 | ljustify</H3> |
---|
| 486 | <PRE> |
---|
| 487 | public 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> <B>ljustify</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> s, |
---|
| 488 | int width)</PRE> |
---|
| 489 | <DL> |
---|
| 490 | <DD><DL> |
---|
| 491 | </DL> |
---|
| 492 | </DD> |
---|
| 493 | </DL> |
---|
| 494 | <HR> |
---|
| 495 | |
---|
| 496 | <A NAME="getSpace(int)"><!-- --></A><H3> |
---|
| 497 | getSpace</H3> |
---|
| 498 | <PRE> |
---|
| 499 | public 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> <B>getSpace</B>(int len)</PRE> |
---|
| 500 | <DL> |
---|
| 501 | <DD><DL> |
---|
| 502 | </DL> |
---|
| 503 | </DD> |
---|
| 504 | </DL> |
---|
| 505 | <HR> |
---|
| 506 | |
---|
| 507 | <A NAME="makeJavaCommand(java.lang.Class, java.lang.String[])"><!-- --></A><H3> |
---|
| 508 | makeJavaCommand</H3> |
---|
| 509 | <PRE> |
---|
| 510 | public 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> <B>makeJavaCommand</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> main, |
---|
| 511 | <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>[] argv)</PRE> |
---|
| 512 | <DL> |
---|
| 513 | <DD><DL> |
---|
| 514 | </DL> |
---|
| 515 | </DD> |
---|
| 516 | </DL> |
---|
| 517 | <HR> |
---|
| 518 | |
---|
| 519 | <A NAME="collate(java.lang.Object[], java.lang.String)"><!-- --></A><H3> |
---|
| 520 | collate</H3> |
---|
| 521 | <PRE> |
---|
| 522 | public 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> <B>collate</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>[] args, |
---|
| 523 | <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> sep)</PRE> |
---|
| 524 | <DL> |
---|
| 525 | <DD><DL> |
---|
| 526 | </DL> |
---|
| 527 | </DD> |
---|
| 528 | </DL> |
---|
| 529 | <HR> |
---|
| 530 | |
---|
| 531 | <A NAME="collate(java.util.List, java.lang.String)"><!-- --></A><H3> |
---|
| 532 | collate</H3> |
---|
| 533 | <PRE> |
---|
| 534 | public 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> <B>collate</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A> args, |
---|
| 535 | <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> sep)</PRE> |
---|
| 536 | <DL> |
---|
| 537 | <DD><DL> |
---|
| 538 | </DL> |
---|
| 539 | </DD> |
---|
| 540 | </DL> |
---|
| 541 | <HR> |
---|
| 542 | |
---|
| 543 | <A NAME="getCurrentSplit(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 544 | getCurrentSplit</H3> |
---|
| 545 | <PRE> |
---|
| 546 | public static <A HREF="../../../../org/apache/hadoop/mapred/FileSplit.html" title="class in org.apache.hadoop.mapred">FileSplit</A> <B>getCurrentSplit</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</PRE> |
---|
| 547 | <DL> |
---|
| 548 | <DD><DL> |
---|
| 549 | </DL> |
---|
| 550 | </DD> |
---|
| 551 | </DL> |
---|
| 552 | <HR> |
---|
| 553 | |
---|
| 554 | <A NAME="isLocalJobTracker(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 555 | isLocalJobTracker</H3> |
---|
| 556 | <PRE> |
---|
| 557 | public static boolean <B>isLocalJobTracker</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</PRE> |
---|
| 558 | <DL> |
---|
| 559 | <DD><DL> |
---|
| 560 | </DL> |
---|
| 561 | </DD> |
---|
| 562 | </DL> |
---|
| 563 | <HR> |
---|
| 564 | |
---|
| 565 | <A NAME="getTaskInfo(org.apache.hadoop.mapred.JobConf)"><!-- --></A><H3> |
---|
| 566 | getTaskInfo</H3> |
---|
| 567 | <PRE> |
---|
| 568 | public static org.apache.hadoop.streaming.StreamUtil.TaskId <B>getTaskInfo</B>(<A HREF="../../../../org/apache/hadoop/mapred/JobConf.html" title="class in org.apache.hadoop.mapred">JobConf</A> job)</PRE> |
---|
| 569 | <DL> |
---|
| 570 | <DD><DL> |
---|
| 571 | </DL> |
---|
| 572 | </DD> |
---|
| 573 | </DL> |
---|
| 574 | <HR> |
---|
| 575 | |
---|
| 576 | <A NAME="touch(java.io.File)"><!-- --></A><H3> |
---|
| 577 | touch</H3> |
---|
| 578 | <PRE> |
---|
| 579 | public static void <B>touch</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file) |
---|
| 580 | 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> |
---|
| 581 | <DL> |
---|
| 582 | <DD><DL> |
---|
| 583 | |
---|
| 584 | <DT><B>Throws:</B> |
---|
| 585 | <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> |
---|
| 586 | </DD> |
---|
| 587 | </DL> |
---|
| 588 | <HR> |
---|
| 589 | |
---|
| 590 | <A NAME="isCygwin()"><!-- --></A><H3> |
---|
| 591 | isCygwin</H3> |
---|
| 592 | <PRE> |
---|
| 593 | public static boolean <B>isCygwin</B>()</PRE> |
---|
| 594 | <DL> |
---|
| 595 | <DD><DL> |
---|
| 596 | </DL> |
---|
| 597 | </DD> |
---|
| 598 | </DL> |
---|
| 599 | <HR> |
---|
| 600 | |
---|
| 601 | <A NAME="localizeBin(java.lang.String)"><!-- --></A><H3> |
---|
| 602 | localizeBin</H3> |
---|
| 603 | <PRE> |
---|
| 604 | public 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> <B>localizeBin</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> path)</PRE> |
---|
| 605 | <DL> |
---|
| 606 | <DD><DL> |
---|
| 607 | </DL> |
---|
| 608 | </DD> |
---|
| 609 | </DL> |
---|
| 610 | <HR> |
---|
| 611 | |
---|
| 612 | <A NAME="getBoundAntProperty(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 613 | getBoundAntProperty</H3> |
---|
| 614 | <PRE> |
---|
| 615 | public 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> <B>getBoundAntProperty</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> name, |
---|
| 616 | <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> defaultVal)</PRE> |
---|
| 617 | <DL> |
---|
| 618 | <DD><DL> |
---|
| 619 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - foo where <junit><sysproperty key="foo" value="${foo}"/> |
---|
| 620 | If foo is undefined then Ant sets the unevaluated value. |
---|
| 621 | Take this into account when setting defaultVal.</DL> |
---|
| 622 | </DD> |
---|
| 623 | </DL> |
---|
| 624 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 625 | <HR> |
---|
| 626 | |
---|
| 627 | |
---|
| 628 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 629 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 630 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 631 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 632 | <TR> |
---|
| 633 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 634 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 635 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 636 | <TR ALIGN="center" VALIGN="top"> |
---|
| 637 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 638 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 639 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 640 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/StreamUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 641 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 642 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 643 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 644 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 645 | </TR> |
---|
| 646 | </TABLE> |
---|
| 647 | </TD> |
---|
| 648 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 649 | </EM> |
---|
| 650 | </TD> |
---|
| 651 | </TR> |
---|
| 652 | |
---|
| 653 | <TR> |
---|
| 654 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 655 | <A HREF="../../../../org/apache/hadoop/streaming/StreamKeyValUtil.html" title="class in org.apache.hadoop.streaming"><B>PREV CLASS</B></A> |
---|
| 656 | <A HREF="../../../../org/apache/hadoop/streaming/StreamXmlRecordReader.html" title="class in org.apache.hadoop.streaming"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 657 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 658 | <A HREF="../../../../index.html?org/apache/hadoop/streaming/StreamUtil.html" target="_top"><B>FRAMES</B></A> |
---|
| 659 | <A HREF="StreamUtil.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 660 | <SCRIPT type="text/javascript"> |
---|
| 661 | <!-- |
---|
| 662 | if(window==top) { |
---|
| 663 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 664 | } |
---|
| 665 | //--> |
---|
| 666 | </SCRIPT> |
---|
| 667 | <NOSCRIPT> |
---|
| 668 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 669 | </NOSCRIPT> |
---|
| 670 | |
---|
| 671 | |
---|
| 672 | </FONT></TD> |
---|
| 673 | </TR> |
---|
| 674 | <TR> |
---|
| 675 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 676 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 677 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 678 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 679 | </TR> |
---|
| 680 | </TABLE> |
---|
| 681 | <A NAME="skip-navbar_bottom"></A> |
---|
| 682 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 683 | |
---|
| 684 | <HR> |
---|
| 685 | Copyright © 2009 The Apache Software Foundation |
---|
| 686 | </BODY> |
---|
| 687 | </HTML> |
---|