<html>
<head>


<title>out</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div id="Description">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">out</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Nom de la variable&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">out</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Nom de la classe&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">javax.servlet.jsp.JspWriter</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Etend&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p><span class="LITERAL">java.io.Writer</span></p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Impl&eacute;mente&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Aucun</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Impl&eacute;ment&eacute;e par&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Une sous-classe concr&egrave;te de cette classe abstraite est fournie sous forme de classe interne d&eacute;pendante du container.
</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Type de page JSP&nbsp;:</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>Disponible dans les pages JSP et dans les pages d'erreur</p>

</td>
</tr>
<tr>
<td colspan="2" class="CLEARSEPARATION">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="TITLE">Description</td>
</tr>
<tr>
<td colspan="2" class="description">

<p>La variable <span class="LITERAL">out</span> est affect&eacute;e par le container web &agrave; une sous-classe concr&egrave;te de la classe abstraite <span class="LITERAL">JspWriter</span>. La classe <span class="LITERAL">JspWriter</span> reproduit certaines des fonctionnalit&eacute;s des classes <span class="LITERAL">java.io.BufferedWriter</span> et <span class="LITERAL">java.io.PrintWriter</span>. Elle se distingue cependant par le fait qu'elle peut d&eacute;clencher une exception <span class="LITERAL">java.io.IOException</span> &agrave; partir des m&eacute;thodes d'impression (la classe <span class="LITERAL">PrintWriter</span> ne le permet pas).
</p>

<p>Si l'attribut <span class="LITERAL">autoflush</span> de la directive <span class="LITERAL">page</span> est d&eacute;fini sur <span class="LITERAL">true</span>, toutes les entr&eacute;es/sorties de cette classe vident automatiquement le contenu de la m&eacute;moire tampon lorsqu'elle est pleine. Si l'attribut <span class="LITERAL">autoflush</span> est d&eacute;fini sur <span class="LITERAL">false</span>, toutes les entr&eacute;es/sorties de cette classe d&eacute;clenchent une exception <span class="LITERAL">IOException</span> lorsque la m&eacute;moire tampon est pleine.
</p>
</td>
</tr>
</table>
</div>
<div id="JspWriter">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">JspWriter()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">protected JspWriter(int bufferSize, boolean autoFlush)</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Cr&eacute;e une instance ayant au moins la taille de m&eacute;moire tampon et le comportement autoflush sp&eacute;cifi&eacute;s.
</p></td>
</tr>
</table>
</div>
<div id="clear">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">clear()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public abstract void clear() throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Efface le contenu de la m&eacute;moire tampon. Si la m&eacute;moire tampon a d&eacute;j&agrave; &eacute;t&eacute; vid&eacute;e, d&eacute;clenche une exception <span class="LITERAL">IOException</span> pour signaler le fait que certaines donn&eacute;es ont d&eacute;j&agrave; &eacute;t&eacute; d&eacute;finitivement &eacute;crites dans le flux de r&eacute;ponse client.
</p></td>
</tr>
</table>
</div>
<div id="clearBuffer">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">clearBuffer()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public abstract void clearBuffer() throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Efface le contenu actuel de la m&eacute;moire tampon. Contrairement &agrave; <span class="LITERAL">clear()</span>, cette m&eacute;thode ne d&eacute;clenche pas d'exception <span class="LITERAL">IOException</span> si la m&eacute;moire tampon a d&eacute;j&agrave; &eacute;t&eacute; vid&eacute;e. Elle efface simplement le contenu actuel de la m&eacute;moire tampon et renvoie.
</p></td>
</tr>
</table>
</div>
<div id="close">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">close()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public abstract void close() throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Ferme la classe <span class="LITERAL">JspWriter</span> apr&egrave;s l'avoir vid&eacute;e. Appeler les m&eacute;thodes <span class="LITERAL">flush()</span> ou <span class="LITERAL">write()</span> apr&egrave;s avoir appel&eacute; la m&eacute;thode <span class="LITERAL">close()</span> entra&icirc;ne le d&eacute;clenchement d'une exception <span class="LITERAL">IOException</span>. Si la m&eacute;thode <span class="LITERAL">close()</span> est appel&eacute;e sur une classe <span class="LITERAL">JspWriter</span> pr&eacute;c&eacute;demment ferm&eacute;e, elle est ignor&eacute;e.
</p></td>
</tr>
</table>
</div>
<div id="flush">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">flush()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public abstract void flush() throws java.io.IOException</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Vide le contenu actuel de la m&eacute;moire tampon dans le scripteur, puis vide le scripteur. Le contenu de la m&eacute;moire tampon est donc livr&eacute; imm&eacute;diatement au client.
</p></td>
</tr>
</table>
</div>
<div id="getBufferSize">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getBufferSize()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public int getBufferSize()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Renvoie la taille de la m&eacute;moire tampon en octets, ou la valeur <span class="LITERAL">0</span> s'il n'y a pas de m&eacute;moire tampon.
</p></td>
</tr>
</table>
</div>
<div id="getRemaining">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">getRemaining()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public abstract int getRemaining()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Renvoie le nombre d'octets non utilis&eacute;s dans la m&eacute;moire tampon.
</p></td>
</tr>
</table>
</div>
<div id="isAutoFlush">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
<tr>
<td valign="top" class="NAME">isAutoFlush()</td>
<td valign="top" class="COMPATIBILITY">&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
</tr>
<tr>
<td valign="top" colspan="2" class="usage"><span class="LITERAL">public boolean isAutoFlush()</span></td>
</tr>
<tr>
<td valign="top" colspan="2" class="description"><p>
Renvoie la valeur <span class="LITERAL">true</span> si cette classe <span class="LITERAL">JspWriter</span> est d&eacute;finie pour vider automatiquement la m&eacute;moire tampon, la valeur <span class="LITERAL">false</span> dans le cas contraire.
</p></td>
</tr>
</table>
</div>
</body>
</html>
