Home | History | Annotate | Download | only in io
      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-google-internal) on Mon Jan 04 20:47:59 PST 2010 -->
      6 <TITLE>
      7 OutputSupplier (Guava Libraries 2010.01.04)
      8 </TITLE>
      9 
     10 <META NAME="date" CONTENT="2010-01-04">
     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="OutputSupplier (Guava Libraries 2010.01.04)";
     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>&nbsp;</TD>
     41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
     42   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
     43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/OutputSupplier.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
     44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
     45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
     46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
     47   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 &nbsp;<A HREF="../../../../com/google/common/io/NullOutputStream.html" title="class in com.google.common.io"><B>PREV CLASS</B></A>&nbsp;
     59 &nbsp;<A HREF="../../../../com/google/common/io/PatternFilenameFilter.html" title="class in com.google.common.io"><B>NEXT CLASS</B></A></FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../index.html?com/google/common/io/OutputSupplier.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="OutputSupplier.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
     63 &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
     80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
     81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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 com.google.common.io</FONT>
     92 <BR>
     93 Interface OutputSupplier&lt;T&gt;</H2>
     94 <HR>
     95 <DL>
     96 <DT><PRE>public interface <B>OutputSupplier&lt;T&gt;</B></DL>
     97 </PRE>
     98 
     99 <P>
    100 An factory for writable streams of bytes or characters.
    101 <P>
    102 
    103 <P>
    104 <DL>
    105 <DT><B>Since:</B></DT>
    106   <DD>2009.09.15 <b>tentative</b></DD>
    107 <DT><B>Author:</B></DT>
    108   <DD>Chris Nokleberg</DD>
    109 </DL>
    110 <HR>
    111 
    112 <P>
    113 
    114 <!-- ========== METHOD SUMMARY =========== -->
    115 
    116 <A NAME="method_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>Method 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>&nbsp;<A HREF="../../../../com/google/common/io/OutputSupplier.html" title="type parameter in OutputSupplier">T</A></CODE></FONT></TD>
    125 <TD><CODE><B><A HREF="../../../../com/google/common/io/OutputSupplier.html#getOutput()">getOutput</A></B>()</CODE>
    126 
    127 <BR>
    128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    129 </TR>
    130 </TABLE>
    131 &nbsp;
    132 <P>
    133 
    134 <!-- ============ METHOD DETAIL ========== -->
    135 
    136 <A NAME="method_detail"><!-- --></A>
    137 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    138 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    139 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
    140 <B>Method Detail</B></FONT></TH>
    141 </TR>
    142 </TABLE>
    143 
    144 <A NAME="getOutput()"><!-- --></A><H3>
    145 getOutput</H3>
    146 <PRE>
    147 <A HREF="../../../../com/google/common/io/OutputSupplier.html" title="type parameter in OutputSupplier">T</A> <B>getOutput</B>()
    148             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>
    149 <DL>
    150 <DD><DL>
    151 
    152 <DT><B>Throws:</B>
    153 <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>
    154 </DD>
    155 </DL>
    156 <!-- ========= END OF CLASS DATA ========= -->
    157 <HR>
    158 
    159 
    160 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    161 <A NAME="navbar_bottom"><!-- --></A>
    162 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    163 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    164 <TR>
    165 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    166 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    167 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    168   <TR ALIGN="center" VALIGN="top">
    169   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    170   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    171   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    172   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/OutputSupplier.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    173   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    174   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    175   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    176   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    177   </TR>
    178 </TABLE>
    179 </TD>
    180 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    181 </EM>
    182 </TD>
    183 </TR>
    184 
    185 <TR>
    186 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    187 &nbsp;<A HREF="../../../../com/google/common/io/NullOutputStream.html" title="class in com.google.common.io"><B>PREV CLASS</B></A>&nbsp;
    188 &nbsp;<A HREF="../../../../com/google/common/io/PatternFilenameFilter.html" title="class in com.google.common.io"><B>NEXT CLASS</B></A></FONT></TD>
    189 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    190   <A HREF="../../../../index.html?com/google/common/io/OutputSupplier.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    191 &nbsp;<A HREF="OutputSupplier.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    192 &nbsp;<SCRIPT type="text/javascript">
    193   <!--
    194   if(window==top) {
    195     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    196   }
    197   //-->
    198 </SCRIPT>
    199 <NOSCRIPT>
    200   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    201 </NOSCRIPT>
    202 
    203 
    204 </FONT></TD>
    205 </TR>
    206 <TR>
    207 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    208   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
    209 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    210 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
    211 </TR>
    212 </TABLE>
    213 <A NAME="skip-navbar_bottom"></A>
    214 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    215 
    216 <HR>
    217 
    218 </BODY>
    219 </HTML>
    220