Commit d00c0e7e authored by yanzg's avatar yanzg

压缩视频

parent 07900627
...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and ...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and
protocols for communication across the network. protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly in accord with this section must be in a formatHandle that is publicly
documented (and with an implementation available to the public in documented (and with an implementation available to the public in
source code form), and must require no special password or key for source code form), and must require no special password or key for
unpacking, reading or copying. unpacking, reading or copying.
......
...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG ...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG
the current machine. the current machine.
<DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A>
<DD>Returns the video frame rate. <DD>Returns the video frame rate.
...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS ...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS
<DD>Returns the video height. <DD>Returns the video height.
<DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A>
......
...@@ -81,7 +81,7 @@ function windowTitle() ...@@ -81,7 +81,7 @@ function windowTitle()
<A NAME="_I_"><!-- --></A><H2> <A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2> <B>I</B></H2>
<DL> <DL>
<DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file format is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>JAVE - Java Audio Video Encoder</DL> <DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file formatHandle is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>JAVE - Java Audio Video Encoder</DL>
<HR> <HR>
......
...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi ...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi
<DD>Sets the duration (seconds) of the re-encoded stream. <DD>Sets the duration (seconds) of the re-encoded stream.
<DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A>
<DD>Sets the format name for the encoded target multimedia file. <DD>Sets the formatHandle name for the encoded target multimedia file.
<DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A>
<DD>Sets the frame rate value for the encoding process. <DD>Sets the frame rate value for the encoding process.
......
...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams. ...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>() ...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the audio decoders bundled with the <DD>Returns a list with the names of all the audio decoders bundled with the
ffmpeg distribution in use. An audio stream can be decoded only if a ffmpeg distribution in use. An audio stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>() ...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the video decoders bundled with the <DD>Returns a list with the names of all the video decoders bundled with the
ffmpeg distribution in use. A video stream can be decoded only if a ffmpeg distribution in use. A video stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>() ...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
encoding time by the underlying ffmpeg distribution. A multimedia file encoding time by the underlying ffmpeg distribution. A multimedia file
could be encoded and generated only if the specified format is in this could be encoded and generated only if the specified formatHandle is in this
list. list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>() ...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
decoding time by the underlying ffmpeg distribution. A multimedia file decoding time by the underlying ffmpeg distribution. A multimedia file
could be open and decoded only if its format is in this list. could be open and decoded only if its formatHandle is in this list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas ...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas
throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>, throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>,
<A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE> <A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE>
<DL> <DL>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file. <DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file.
<DT><B>Returns:</B><DD>A set of informations about the file and its contents. <DT><B>Returns:</B><DD>A set of informations about the file and its contents.
<DT><B>Throws:</B> <DT><B>Throws:</B>
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the format of the source file cannot be recognized and <DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the formatHandle of the source file cannot be recognized and
decoded. decoded.
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL> <DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL>
</DD> </DD>
......
...@@ -159,10 +159,10 @@ Attributes controlling the encoding process. ...@@ -159,10 +159,10 @@ Attributes controlling the encoding process.
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;format)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;formatHandle)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the format name for the encoded target multimedia file.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the formatHandle name for the encoded target multimedia file.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE> ...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE>
<A NAME="setFormat(java.lang.String)"><!-- --></A><H3> <A NAME="setFormat(java.lang.String)"><!-- --></A><H3>
setFormat</H3> setFormat</H3>
<PRE> <PRE>
public void <B>setFormat</B>(java.lang.String&nbsp;format)</PRE> public void <B>setFormat</B>(java.lang.String&nbsp;formatHandle)</PRE>
<DL> <DL>
<DD>Sets the format name for the encoded target multimedia file. Be sure this <DD>Sets the formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DD><DL> <DD><DL>
</DL> </DL>
</DD> </DD>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The format name for the encoded target multimedia file.</DL> <DT><B>Parameters:</B><DD><CODE>formatHandle</CODE> - The formatHandle name for the encoded target multimedia file.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -106,7 +106,7 @@ java.lang.Object ...@@ -106,7 +106,7 @@ java.lang.Object
</PRE> </PRE>
<P> <P>
This expection is thrown if a source file format is not recognized. This expection is thrown if a source file formatHandle is not recognized.
<P> <P>
<P> <P>
......
...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file. ...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file format name.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file formatHandle name.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -221,11 +221,11 @@ getFormat</H3> ...@@ -221,11 +221,11 @@ getFormat</H3>
<PRE> <PRE>
public java.lang.String <B>getFormat</B>()</PRE> public java.lang.String <B>getFormat</B>()</PRE>
<DL> <DL>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Returns:</B><DD>The multimedia file format name.</DL> <DT><B>Returns:</B><DD>The multimedia file formatHandle name.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE> <TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
......
...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t ...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title=" ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title="
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -167,7 +167,7 @@ JAVE - Java Audio Video Encoder ...@@ -167,7 +167,7 @@ JAVE - Java Audio Video Encoder
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD> <TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD>
<TD>This expection is thrown if a source file format is not recognized.</TD> <TD>This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
......
...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau ...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B>
......
...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE> ...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE>
</TABLE> </TABLE>
<H3> <H3>
format</H3> formatHandle</H3>
<PRE> <PRE>
java.lang.String <B>format</B></PRE> java.lang.String <B>formatHandle</B></PRE>
<DL> <DL>
<DD>The format name for the encoded target multimedia file. Be sure this <DD>The formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DL> <DL>
</DL> </DL>
......
...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and ...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and
protocols for communication across the network. protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly in accord with this section must be in a formatHandle that is publicly
documented (and with an implementation available to the public in documented (and with an implementation available to the public in
source code form), and must require no special password or key for source code form), and must require no special password or key for
unpacking, reading or copying. unpacking, reading or copying.
......
...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG ...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG
the current machine. the current machine.
<DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A>
<DD>Returns the video frame rate. <DD>Returns the video frame rate.
...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS ...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS
<DD>Returns the video height. <DD>Returns the video height.
<DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A>
......
...@@ -81,7 +81,7 @@ function windowTitle() ...@@ -81,7 +81,7 @@ function windowTitle()
<A NAME="_I_"><!-- --></A><H2> <A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2> <B>I</B></H2>
<DL> <DL>
<DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file format is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>JAVE - Java Audio Video Encoder</DL> <DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file formatHandle is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>JAVE - Java Audio Video Encoder</DL>
<HR> <HR>
......
...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi ...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi
<DD>Sets the duration (seconds) of the re-encoded stream. <DD>Sets the duration (seconds) of the re-encoded stream.
<DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A>
<DD>Sets the format name for the encoded target multimedia file. <DD>Sets the formatHandle name for the encoded target multimedia file.
<DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A>
<DD>Sets the frame rate value for the encoding process. <DD>Sets the frame rate value for the encoding process.
......
...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams. ...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>() ...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the audio decoders bundled with the <DD>Returns a list with the names of all the audio decoders bundled with the
ffmpeg distribution in use. An audio stream can be decoded only if a ffmpeg distribution in use. An audio stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>() ...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the video decoders bundled with the <DD>Returns a list with the names of all the video decoders bundled with the
ffmpeg distribution in use. A video stream can be decoded only if a ffmpeg distribution in use. A video stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>() ...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
encoding time by the underlying ffmpeg distribution. A multimedia file encoding time by the underlying ffmpeg distribution. A multimedia file
could be encoded and generated only if the specified format is in this could be encoded and generated only if the specified formatHandle is in this
list. list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>() ...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
decoding time by the underlying ffmpeg distribution. A multimedia file decoding time by the underlying ffmpeg distribution. A multimedia file
could be open and decoded only if its format is in this list. could be open and decoded only if its formatHandle is in this list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas ...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas
throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>, throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>,
<A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE> <A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE>
<DL> <DL>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file. <DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file.
<DT><B>Returns:</B><DD>A set of informations about the file and its contents. <DT><B>Returns:</B><DD>A set of informations about the file and its contents.
<DT><B>Throws:</B> <DT><B>Throws:</B>
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the format of the source file cannot be recognized and <DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the formatHandle of the source file cannot be recognized and
decoded. decoded.
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL> <DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL>
</DD> </DD>
......
...@@ -159,10 +159,10 @@ Attributes controlling the encoding process. ...@@ -159,10 +159,10 @@ Attributes controlling the encoding process.
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;format)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;formatHandle)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the format name for the encoded target multimedia file.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the formatHandle name for the encoded target multimedia file.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE> ...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE>
<A NAME="setFormat(java.lang.String)"><!-- --></A><H3> <A NAME="setFormat(java.lang.String)"><!-- --></A><H3>
setFormat</H3> setFormat</H3>
<PRE> <PRE>
public void <B>setFormat</B>(java.lang.String&nbsp;format)</PRE> public void <B>setFormat</B>(java.lang.String&nbsp;formatHandle)</PRE>
<DL> <DL>
<DD>Sets the format name for the encoded target multimedia file. Be sure this <DD>Sets the formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DD><DL> <DD><DL>
</DL> </DL>
</DD> </DD>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The format name for the encoded target multimedia file.</DL> <DT><B>Parameters:</B><DD><CODE>formatHandle</CODE> - The formatHandle name for the encoded target multimedia file.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -106,7 +106,7 @@ java.lang.Object ...@@ -106,7 +106,7 @@ java.lang.Object
</PRE> </PRE>
<P> <P>
This expection is thrown if a source file format is not recognized. This expection is thrown if a source file formatHandle is not recognized.
<P> <P>
<P> <P>
......
...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file. ...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file format name.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file formatHandle name.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -221,11 +221,11 @@ getFormat</H3> ...@@ -221,11 +221,11 @@ getFormat</H3>
<PRE> <PRE>
public java.lang.String <B>getFormat</B>()</PRE> public java.lang.String <B>getFormat</B>()</PRE>
<DL> <DL>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Returns:</B><DD>The multimedia file format name.</DL> <DT><B>Returns:</B><DD>The multimedia file formatHandle name.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE> <TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
......
...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t ...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title=" ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title="
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -167,7 +167,7 @@ JAVE - Java Audio Video Encoder ...@@ -167,7 +167,7 @@ JAVE - Java Audio Video Encoder
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD> <TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD>
<TD>This expection is thrown if a source file format is not recognized.</TD> <TD>This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
......
...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau ...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B>
......
...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE> ...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE>
</TABLE> </TABLE>
<H3> <H3>
format</H3> formatHandle</H3>
<PRE> <PRE>
java.lang.String <B>format</B></PRE> java.lang.String <B>formatHandle</B></PRE>
<DL> <DL>
<DD>The format name for the encoded target multimedia file. Be sure this <DD>The formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DL> <DL>
</DL> </DL>
......
...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and ...@@ -335,7 +335,7 @@ adversely affects the operation of the network or violates the rules and
protocols for communication across the network. protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly in accord with this section must be in a formatHandle that is publicly
documented (and with an implementation available to the public in documented (and with an implementation available to the public in
source code form), and must require no special password or key for source code form), and must require no special password or key for
unpacking, reading or copying. unpacking, reading or copying.
......
...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG ...@@ -119,7 +119,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/FFMPEG
the current machine. the current machine.
<DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()"><B>getFormat()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/MultimediaInfo.html" title="class in it.sauronsoftware.jave">MultimediaInfo</A>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoInfo.html#getFrameRate()"><B>getFrameRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoInfo.html" title="class in it.sauronsoftware.jave">VideoInfo</A>
<DD>Returns the video frame rate. <DD>Returns the video frame rate.
...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS ...@@ -128,7 +128,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoS
<DD>Returns the video height. <DD>Returns the video height.
<DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)"><B>getInfo(File)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encoder.html" title="class in it.sauronsoftware.jave">Encoder</A>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> - <DT><A HREF="../it/sauronsoftware/jave/AudioInfo.html#getSamplingRate()"><B>getSamplingRate()</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/AudioInfo.html" title="class in it.sauronsoftware.jave">AudioInfo</A>
......
...@@ -81,7 +81,7 @@ function windowTitle() ...@@ -81,7 +81,7 @@ function windowTitle()
<A NAME="_I_"><!-- --></A><H2> <A NAME="_I_"><!-- --></A><H2>
<B>I</B></H2> <B>I</B></H2>
<DL> <DL>
<DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file format is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>&nbsp;</DL> <DT><A HREF="../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave"><B>InputFormatException</B></A> - Exception in <A HREF="../it/sauronsoftware/jave/package-summary.html">it.sauronsoftware.jave</A><DD>This expection is thrown if a source file formatHandle is not recognized.<DT><A HREF="../it/sauronsoftware/jave/package-summary.html"><B>it.sauronsoftware.jave</B></A> - package it.sauronsoftware.jave<DD>&nbsp;</DL>
<HR> <HR>
......
...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi ...@@ -105,7 +105,7 @@ Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/Encodi
<DD>Sets the duration (seconds) of the re-encoded stream. <DD>Sets the duration (seconds) of the re-encoded stream.
<DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)"><B>setFormat(String)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/EncodingAttributes.html" title="class in it.sauronsoftware.jave">EncodingAttributes</A>
<DD>Sets the format name for the encoded target multimedia file. <DD>Sets the formatHandle name for the encoded target multimedia file.
<DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> - <DT><A HREF="../it/sauronsoftware/jave/VideoAttributes.html#setFrameRate(java.lang.Integer)"><B>setFrameRate(Integer)</B></A> -
Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A> Method in class it.sauronsoftware.jave.<A HREF="../it/sauronsoftware/jave/VideoAttributes.html" title="class in it.sauronsoftware.jave">VideoAttributes</A>
<DD>Sets the frame rate value for the encoding process. <DD>Sets the frame rate value for the encoding process.
......
...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams. ...@@ -188,7 +188,7 @@ Main class of the package. Instances can encode audio and video streams.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>() ...@@ -291,7 +291,7 @@ public java.lang.String[] <B>getAudioDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the audio decoders bundled with the <DD>Returns a list with the names of all the audio decoders bundled with the
ffmpeg distribution in use. An audio stream can be decoded only if a ffmpeg distribution in use. An audio stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>() ...@@ -329,7 +329,7 @@ public java.lang.String[] <B>getVideoDecoders</B>()
<DL> <DL>
<DD>Returns a list with the names of all the video decoders bundled with the <DD>Returns a list with the names of all the video decoders bundled with the
ffmpeg distribution in use. A video stream can be decoded only if a ffmpeg distribution in use. A video stream can be decoded only if a
decoder for its format is available. decoder for its formatHandle is available.
<P> <P>
<DD><DL> <DD><DL>
...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>() ...@@ -367,7 +367,7 @@ public java.lang.String[] <B>getSupportedEncodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
encoding time by the underlying ffmpeg distribution. A multimedia file encoding time by the underlying ffmpeg distribution. A multimedia file
could be encoded and generated only if the specified format is in this could be encoded and generated only if the specified formatHandle is in this
list. list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>() ...@@ -388,7 +388,7 @@ public java.lang.String[] <B>getSupportedDecodingFormats</B>()
<DL> <DL>
<DD>Returns a list with the names of all the file formats supported at <DD>Returns a list with the names of all the file formats supported at
decoding time by the underlying ffmpeg distribution. A multimedia file decoding time by the underlying ffmpeg distribution. A multimedia file
could be open and decoded only if its format is in this list. could be open and decoded only if its formatHandle is in this list.
<P> <P>
<DD><DL> <DD><DL>
...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas ...@@ -407,14 +407,14 @@ public <A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html" title="clas
throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>, throws <A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A>,
<A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE> <A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></PRE>
<DL> <DL>
<DD>Returns a set informations about a multimedia file, if its format is <DD>Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding. supported for decoding.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file. <DT><B>Parameters:</B><DD><CODE>source</CODE> - The source multimedia file.
<DT><B>Returns:</B><DD>A set of informations about the file and its contents. <DT><B>Returns:</B><DD>A set of informations about the file and its contents.
<DT><B>Throws:</B> <DT><B>Throws:</B>
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the format of the source file cannot be recognized and <DD><CODE><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></CODE> - If the formatHandle of the source file cannot be recognized and
decoded. decoded.
<DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL> <DD><CODE><A HREF="../../../it/sauronsoftware/jave/EncoderException.html" title="class in it.sauronsoftware.jave">EncoderException</A></CODE> - If a problem occurs calling the underlying ffmpeg executable.</DL>
</DD> </DD>
......
...@@ -159,10 +159,10 @@ Attributes controlling the encoding process. ...@@ -159,10 +159,10 @@ Attributes controlling the encoding process.
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD> <CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;format)</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/EncodingAttributes.html#setFormat(java.lang.String)">setFormat</A></B>(java.lang.String&nbsp;formatHandle)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the format name for the encoded target multimedia file.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the formatHandle name for the encoded target multimedia file.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE> ...@@ -232,16 +232,16 @@ public <B>EncodingAttributes</B>()</PRE>
<A NAME="setFormat(java.lang.String)"><!-- --></A><H3> <A NAME="setFormat(java.lang.String)"><!-- --></A><H3>
setFormat</H3> setFormat</H3>
<PRE> <PRE>
public void <B>setFormat</B>(java.lang.String&nbsp;format)</PRE> public void <B>setFormat</B>(java.lang.String&nbsp;formatHandle)</PRE>
<DL> <DL>
<DD>Sets the format name for the encoded target multimedia file. Be sure this <DD>Sets the formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="../../../it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DD><DL> <DD><DL>
</DL> </DL>
</DD> </DD>
<DD><DL> <DD><DL>
<DT><B>Parameters:</B><DD><CODE>format</CODE> - The format name for the encoded target multimedia file.</DL> <DT><B>Parameters:</B><DD><CODE>formatHandle</CODE> - The formatHandle name for the encoded target multimedia file.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -106,7 +106,7 @@ java.lang.Object ...@@ -106,7 +106,7 @@ java.lang.Object
</PRE> </PRE>
<P> <P>
This expection is thrown if a source file format is not recognized. This expection is thrown if a source file formatHandle is not recognized.
<P> <P>
<P> <P>
......
...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file. ...@@ -158,7 +158,7 @@ Instances of this class report informations about a decoded multimedia file.
<TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE> <TD><CODE><B><A HREF="../../../it/sauronsoftware/jave/MultimediaInfo.html#getFormat()">getFormat</A></B>()</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file format name.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the multimedia file formatHandle name.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
...@@ -221,11 +221,11 @@ getFormat</H3> ...@@ -221,11 +221,11 @@ getFormat</H3>
<PRE> <PRE>
public java.lang.String <B>getFormat</B>()</PRE> public java.lang.String <B>getFormat</B>()</PRE>
<DL> <DL>
<DD>Returns the multimedia file format name. <DD>Returns the multimedia file formatHandle name.
<P> <P>
<DD><DL> <DD><DL>
<DT><B>Returns:</B><DD>The multimedia file format name.</DL> <DT><B>Returns:</B><DD>The multimedia file formatHandle name.</DL>
</DD> </DD>
</DL> </DL>
<HR> <HR>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE> <TD><CODE><B><A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title ...@@ -157,7 +157,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/EncoderException.html" title
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
......
...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t ...@@ -123,7 +123,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/InputFormatException.html" t
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title=" ...@@ -102,7 +102,7 @@ Uses of <A HREF="../../../../it/sauronsoftware/jave/MultimediaInfo.html" title="
<TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE> <TD><CODE><B>Encoder.</B><B><A HREF="../../../../it/sauronsoftware/jave/Encoder.html#getInfo(java.io.File)">getInfo</A></B>(java.io.File&nbsp;source)</CODE>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its format is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a set informations about a multimedia file, if its formatHandle is
supported for decoding.</TD> supported for decoding.</TD>
</TR> </TR>
</TABLE> </TABLE>
......
...@@ -161,7 +161,7 @@ Package it.sauronsoftware.jave ...@@ -161,7 +161,7 @@ Package it.sauronsoftware.jave
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD> <TD WIDTH="15%"><B><A HREF="../../../it/sauronsoftware/jave/InputFormatException.html" title="class in it.sauronsoftware.jave">InputFormatException</A></B></TD>
<TD>This expection is thrown if a source file format is not recognized.</TD> <TD>This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
</TABLE> </TABLE>
&nbsp; &nbsp;
......
...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau ...@@ -130,7 +130,7 @@ Classes in <A HREF="../../../it/sauronsoftware/jave/package-summary.html">it.sau
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/InputFormatException.html#it.sauronsoftware.jave"><B>InputFormatException</B></A></B>
<BR> <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file format is not recognized.</TD> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This expection is thrown if a source file formatHandle is not recognized.</TD>
</TR> </TR>
<TR BGCOLOR="white" CLASS="TableRowColor"> <TR BGCOLOR="white" CLASS="TableRowColor">
<TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B> <TD><B><A HREF="../../../it/sauronsoftware/jave/class-use/MultimediaInfo.html#it.sauronsoftware.jave"><B>MultimediaInfo</B></A></B>
......
...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE> ...@@ -208,12 +208,12 @@ java.lang.Integer <B>volume</B></PRE>
</TABLE> </TABLE>
<H3> <H3>
format</H3> formatHandle</H3>
<PRE> <PRE>
java.lang.String <B>format</B></PRE> java.lang.String <B>formatHandle</B></PRE>
<DL> <DL>
<DD>The format name for the encoded target multimedia file. Be sure this <DD>The formatHandle name for the encoded target multimedia file. Be sure this
format is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>. formatHandle is supported (see <A HREF="it/sauronsoftware/jave/Encoder.html#getSupportedEncodingFormats()"><CODE>Encoder.getSupportedEncodingFormats()</CODE></A>.
<P> <P>
<DL> <DL>
</DL> </DL>
......
...@@ -2,9 +2,18 @@ package com.yanzuoguang.util; ...@@ -2,9 +2,18 @@ package com.yanzuoguang.util;
import com.yanzuoguang.util.base.ObjectHelper; import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.exception.CodeException;
import com.yanzuoguang.util.helper.JsonHelper;
import com.yanzuoguang.util.helper.StringHelper; import com.yanzuoguang.util.helper.StringHelper;
import com.yanzuoguang.util.printer.ConvertPlan;
import com.yanzuoguang.util.printer.PrinterFormatHandle; import com.yanzuoguang.util.printer.PrinterFormatHandle;
import com.yanzuoguang.util.printer.format.FormatCenter;
import com.yanzuoguang.util.printer.vo.PrinterPagerData;
import com.yanzuoguang.util.printer.vo.PrinterPagerItemData;
import com.yanzuoguang.util.vo.MapRow;
import java.util.Arrays;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
...@@ -52,7 +61,102 @@ public class PrinterHelper { ...@@ -52,7 +61,102 @@ public class PrinterHelper {
} }
/** /**
* 将数据格式化为新得数据 * 将来源模板与数据转换为目标模板和数据
*
* @param pager 来源模板
* @param datas 来源数据
* @return
*/
public static ConvertPlan convert(String pager, double left, double top, Object... datas) {
return convert(pager, left, top, Arrays.asList(datas));
}
/**
* 将来源模板与数据转换为目标模板和数据
*
* @param pager 来源模板
* @param datas 来源数据
* @return
*/
public static ConvertPlan convert(String pager, double left, double top, List<Object> datas) {
ConvertPlan from = new ConvertPlan();
from.setPager(pager);
from.setDatas(datas);
return convert(from, left, top);
}
/**
* 将来源模板转换为目标模板
*
* @param from 来源计划
* @param left 左边距离
* @param top 右边距离
* @return
*/
public static ConvertPlan<MapRow> convert(ConvertPlan from, double left, double top) {
// 设置生成结果
ConvertPlan<MapRow> to = new ConvertPlan();
// 判断是否为空
if (StringHelper.isEmpty(from.getPager()) || from.getDatas() == null || from.getDatas().size() < 1) {
return to;
}
// 解析模板格式
PrinterPagerData pager;
try {
pager = JsonHelper.deserialize(from.getPager(), PrinterPagerData.class);
} catch (Exception ex) {
throw new CodeException("不能识别模板", ex);
}
// 设置偏移量
pager.setMarginTop(pager.getMarginTop() + top);
pager.setMarginLeft(pager.getMarginLeft() + left);
// 初始化目标数据
int length = from.getDatas().size();
for (int i = 0; i < length; i++) {
to.getDatas().add(new MapRow());
}
// 遍历模板,对每个模板格式化字符串进行处理
for (PrinterPagerItemData item : pager.getItems()) {
// 判断是否需要格式化
if (StringHelper.isEmpty(item.getFormat())) {
continue;
}
// 生成目标格式化字符串
String format = getFormat(item.getFormat(), item.getName(), new PrinterFormatHandle() {
@Override
public void addPos(StringBuilder sb, String fieldFull, String field, String command) {
// 对现有的字段进行加密
sb.append("{");
String fieldTo = field;
if (!StringHelper.isEmpty(command)) {
fieldTo = StringHelper.md5(fieldFull);
}
sb.append(fieldTo);
sb.append("}");
// 写入加密后的数目
for (int i = 0; i < length; i++) {
Object rowFrom = from.getDatas().get(i);
String fromValue = ObjectHelper.getString(rowFrom, field);
String toValue = fromValue;
if (!StringHelper.isEmpty(command)) {
toValue = FormatCenter.getFormatValue(command, fromValue);
}
MapRow rowTo = to.getDatas().get(i);
rowTo.put(fieldTo, toValue);
}
}
});
item.setFormat(format);
}
// 设置生成模板
to.setPager(JsonHelper.serialize(pager));
return to;
}
/**
* 将数据格式化为新得数据,用于转换单行数据
* *
* @param resultTo 结果数据 * @param resultTo 结果数据
* @param resultFrom 结果来源 * @param resultFrom 结果来源
...@@ -64,21 +168,22 @@ public class PrinterHelper { ...@@ -64,21 +168,22 @@ public class PrinterHelper {
String format, String defaultField) { String format, String defaultField) {
return getFormat(format, defaultField, new PrinterFormatHandle() { return getFormat(format, defaultField, new PrinterFormatHandle() {
@Override @Override
public void addPos(StringBuilder sb, String fieldFull, String field, String fieldFormat) { public void addPos(StringBuilder sb, String fieldFull, String field, String command) {
sb.append("{"); sb.append("{");
Object fieldValue = ObjectHelper.get(resultFrom, field); Object fieldValue = ObjectHelper.get(resultFrom, field);
if (!StringHelper.isEmpty(fieldFormat)) { String fieldTo = field;
field = StringHelper.md5(fieldFull); if (!StringHelper.isEmpty(command)) {
fieldTo = StringHelper.md5(fieldFull);
} }
sb.append(field); sb.append(fieldTo);
resultTo.put(field, fieldValue); resultTo.put(fieldTo, fieldValue);
sb.append("}"); sb.append("}");
} }
}); });
} }
/** /**
* 获取结果字符串,调用本方法前请先调用getFormatTo函数 * 获取结果字符串,用于转换单行数据,调用本方法前请先调用getFormatTo函数
* *
* @param resultFrom 来源字符 * @param resultFrom 来源字符
* @param format 格式化字符串 * @param format 格式化字符串
...@@ -87,7 +192,7 @@ public class PrinterHelper { ...@@ -87,7 +192,7 @@ public class PrinterHelper {
public static String getResult(Object resultFrom, String format) { public static String getResult(Object resultFrom, String format) {
return getFormat(format, StringHelper.EMPTY, new PrinterFormatHandle() { return getFormat(format, StringHelper.EMPTY, new PrinterFormatHandle() {
@Override @Override
public void addPos(StringBuilder sb, String fieldFull, String field, String fieldFormat) { public void addPos(StringBuilder sb, String fieldFull, String field, String command) {
Object fieldValue = ObjectHelper.get(resultFrom, field); Object fieldValue = ObjectHelper.get(resultFrom, field);
sb.append(fieldValue); sb.append(fieldValue);
} }
......
package com.yanzuoguang.util.printer;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
/**
* 转换计划
*/
public class ConvertPlan<T extends Object> {
/**
* 来源模板
*/
@ApiModelProperty(notes = "来源模板", position = 10)
private String pager;
/**
* 来源数据
*/
@ApiModelProperty(notes = "来源数据", position = 10)
private List<T> datas = new ArrayList<>();
public String getPager() {
return pager;
}
public void setPager(String pager) {
this.pager = pager;
}
public List<T> getDatas() {
return datas;
}
public void setDatas(List<T> datas) {
this.datas = datas;
}
}
...@@ -8,7 +8,7 @@ public interface PrinterFormatHandle { ...@@ -8,7 +8,7 @@ public interface PrinterFormatHandle {
* @param sb 返回得结果模板 * @param sb 返回得结果模板
* @param fieldFull 全格式 * @param fieldFull 全格式
* @param field 字段 * @param field 字段
* @param fieldFormat 字段格式化 * @param command 字段格式化
*/ */
void addPos(StringBuilder sb, String fieldFull, String field, String fieldFormat); void addPos(StringBuilder sb, String fieldFull, String field, String command);
} }
package com.yanzuoguang.util.printer.format;
import com.yanzuoguang.util.exception.CodeException;
import com.yanzuoguang.util.helper.StringHelper;
import java.util.HashMap;
import java.util.Map;
/**
* 格式化处理中心
*
* @author 颜佐光
*/
public class FormatCenter {
private static FormatCenter formatCenter = new FormatCenter();
private Map<String, FormatHandle> cache = new HashMap<>();
private boolean init = false;
private FormatCenter() {
}
/**
* 添加默认支持的格式化组件
*/
private void initDefault() {
if (init) {
return;
}
synchronized (this) {
addHandle("*", new FormatHandleDefault());
this.init = true;
}
}
/**
* 添加处理函数
*
* @param name
* @param formatHandle
*/
private void addHandle(String name, FormatHandle formatHandle) {
cache.put(name, formatHandle);
}
/**
* 格式化字符串
*
* @param command 格式化的命令
* @param formatValue 需要格式化的值
* @return
*/
private String format(String command, String formatValue) {
this.initDefault();
if (StringHelper.isEmpty(command)) {
throw new CodeException("你需要格式化的字符串格式为空");
}
String[] commands = command.split(":");
String name = commands[0];
String format = StringHelper.EMPTY;
if (commands.length > 1) {
format = command.substring(name.length() + 1);
}
FormatHandle formatHandle = cache.get(name);
if (formatHandle == null) {
throw new CodeException("需要格式化的字符串不支持");
}
return formatHandle.getFormat(name, format, formatValue);
}
/**
* 添加处理函数
*
* @param command 需要格式化的命令字符串
* @param formatValue 格式化的值
* @return
*/
public static String getFormatValue(String command, String formatValue) {
return formatCenter.format(command, formatValue);
}
/**
* 添加处理函数
*
* @param name 支持的名称
* @param formatHandle 支持的处理方式
* @return
*/
public static void register(String name, FormatHandle formatHandle) {
formatCenter.addHandle(name, formatHandle);
}
}
package com.yanzuoguang.util.printer.format;
public interface FormatHandle {
/**
* 格式化字符串
*
* @param formatName 格式化名称
* @param format 格式
* @param formatValue 需要格式化的值
* @return
*/
String getFormat(String formatName, String format, String formatValue);
}
package com.yanzuoguang.util.printer.format;
import com.yanzuoguang.util.helper.StringHelper;
/**
* 默认格式化字符串
*
* @author 颜佐光
*/
public class FormatHandleDefault implements FormatHandle {
public static final int START_DEFAULT = 3;
public static final int END_DEFAULT = 3;
public static final int SIZE_DEFAULT = 5;
/**
* 格式化字符串
*
* @param formatName 格式化名称
* @param format 格式
* @param formatValue 需要格式化的值
* @return
*/
@Override
public String getFormat(String formatName, String format, String formatValue) {
// 设置默认值
format = StringHelper.getFirst(format, StringHelper.EMPTY);
formatValue = StringHelper.getFirst(formatValue, StringHelper.EMPTY);
// 设置格式化字符串
String[] formats = format.split(",");
int start = StringHelper.toInt(formats[0], START_DEFAULT);
int end = END_DEFAULT;
int maxSize = SIZE_DEFAULT;
if (formats.length > 1) {
end = StringHelper.toInt(formats[1], END_DEFAULT);
}
if (formats.length > 2) {
maxSize = StringHelper.toInt(formats[2], SIZE_DEFAULT);
}
int size = formatValue.length() - start - end;
// 设置最大
size = Math.min(size, maxSize);
if (size < 1) {
return formatValue;
}
StringBuilder sb = new StringBuilder();
sb.append(formatValue.substring(0, start));
for (int i = 0; i < size; i++) {
sb.append("*");
}
sb.append(formatValue.substring(formatValue.length() - end));
return sb.toString();
}
}
...@@ -3,6 +3,7 @@ package helper; ...@@ -3,6 +3,7 @@ package helper;
import com.yanzuoguang.util.PrinterHelper; import com.yanzuoguang.util.PrinterHelper;
import com.yanzuoguang.util.helper.FileHelper; import com.yanzuoguang.util.helper.FileHelper;
import com.yanzuoguang.util.helper.JsonHelper; import com.yanzuoguang.util.helper.JsonHelper;
import com.yanzuoguang.util.printer.ConvertPlan;
import com.yanzuoguang.util.printer.vo.PrinterPagerData; import com.yanzuoguang.util.printer.vo.PrinterPagerData;
import org.junit.Test; import org.junit.Test;
...@@ -37,6 +38,27 @@ public class TestPrinterHelper { ...@@ -37,6 +38,27 @@ public class TestPrinterHelper {
FileHelper.writeFile(new File(getTargetFile()), toJson, "utf-8"); FileHelper.writeFile(new File(getTargetFile()), toJson, "utf-8");
} }
@Test
public void testPrinterConvert() {
Map<String, Object> from = new HashMap<>();
from.put("OrderId", "11111");
from.put("createDate", "2019-12-21 12:35");
from.put("codeNo", "123456789");
from.put("channelName", "自助机");
from.put("buyNum", "购买数量");
from.put("productName", "长江索道单程票");
from.put("PlayerType", "游客类型");
from.put("salePriceTotal", "25");
String fromJson = FileHelper.readFile(new File(getFile()), "utf-8");
ConvertPlan convert = PrinterHelper.convert(fromJson, 0, 0, from);
FileHelper.writeFile(new File(getTargetFile()), convert.getPager(), "utf-8");
String toJson = JsonHelper.serialize(convert.getDatas(), true);
FileHelper.writeFile(new File(getTargetDataFile()), toJson, "utf-8");
}
private String getFile() { private String getFile() {
// 注意,路径应为文件在工程中的相对路径 // 注意,路径应为文件在工程中的相对路径
File f = new File("src/test/java/helper/from.json"); File f = new File("src/test/java/helper/from.json");
...@@ -53,4 +75,11 @@ public class TestPrinterHelper { ...@@ -53,4 +75,11 @@ public class TestPrinterHelper {
File f = new File("target/to.json"); File f = new File("target/to.json");
return f.getAbsolutePath(); return f.getAbsolutePath();
} }
private String getTargetDataFile() {
// 注意,路径应为文件在工程中的相对路径
File f = new File("target/toData.json");
return f.getAbsolutePath();
}
} }
{"PageWidth":73,"PageHeight":50,"MarginTop":125,"MarginRight":0,"MarginBottom":0,"MarginLeft":0,"PrintAngle":0,"Items":[{"Name":"OrderId","Type":1,"IsVisible":true,"Top":4.266013763896241,"Left":25.329221810481734,"Width":39.926945473795655,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"订单编号:{0}","FormatValue":"订单编号:"},{"Name":"createDate","Type":1,"IsVisible":true,"Top":14.942985706723134,"Left":25.34970884065643,"Width":46.9081524616199,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"出票时间:{0}","FormatValue":"出票时间:2019-10-16 16:11:01"},{"Name":"codeNo","Type":2,"IsVisible":true,"Top":4.51799894123875,"Left":5.020275277924827,"Width":18.073398623610373,"Height":18.073398623610373,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"","FormatValue":"01234567890123"},{"Name":"codeNo","Type":1,"IsVisible":true,"Top":9.331815775542616,"Left":25.329221810481734,"Width":40.72922181048174,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"电子券号:{0}","FormatValue":"电子券号:01234567890123"},{"Name":"channelName","Type":1,"IsVisible":true,"Top":29.861302276336687,"Left":5.065802011646373,"Width":43.971678136580195,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"渠道来源:{0}","FormatValue":"渠道来源:窗口"},{"Name":"buyNum","Type":1,"IsVisible":true,"Top":34.676283748014825,"Left":5.067840127051349,"Width":33.0574377977766,"Height":5.558496559025939,"Font":"微软雅黑,12pt,style=Underline","TextAlign":1,"Format":"可用人数:{0}","FormatValue":"可用人数:1"},{"Name":"Common","Type":0,"IsVisible":true,"Top":40.497617787188986,"Left":5.012122816304924,"Width":65.82530439385918,"Height":8.99947061937533,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"索道门票限当日22:00前使用,巴士门票限当日19:00前使用,一经售出不可退换(北站售)","FormatValue":"索道门票限当日22:00前使用,巴士门票限当日19:00前使用,一经售出不可退换(北站售)"},{"Name":"productName","Type":1,"IsVisible":true,"Top":24.795976707252514,"Left":5.065802011646373,"Width":46.883271572260455,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"客票类别:{0}","FormatValue":"客票类别:途比达门票(自动修改)"},{"Name":"PlayerType","Type":1,"IsVisible":true,"Top":19.730121757543674,"Left":25.329221810481734,"Width":26.35322922181048,"Height":4.235044997353096,"Font":"微软雅黑,9pt,style=Underline","TextAlign":1,"Format":"游客类型:{0}","FormatValue":"游客类型:"},{"Name":"salePriceTotal","Type":1,"IsVisible":true,"Top":34.66225516146109,"Left":39.194547379565904,"Width":29.2649550026469,"Height":5.558496559025939,"Font":"微软雅黑,12pt,style=Underline","TextAlign":1,"Format":"票价:{0}","FormatValue":"票价:20"}]} {
\ No newline at end of file "PageWidth": 73,
"PageHeight": 50,
"MarginTop": 125,
"MarginRight": 0,
"MarginBottom": 0,
"MarginLeft": 0,
"PrintAngle": 0,
"Items": [
{
"Name": "OrderId",
"Type": 1,
"IsVisible": true,
"Top": 4.266013763896241,
"Left": 25.329221810481734,
"Width": 39.926945473795655,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "订单编号:{0}",
"FormatValue": "订单编号:"
},
{
"Name": "createDate",
"Type": 1,
"IsVisible": true,
"Top": 14.942985706723134,
"Left": 25.34970884065643,
"Width": 46.9081524616199,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "出票时间:{0}",
"FormatValue": "出票时间:2019-10-16 16:11:01"
},
{
"Name": "codeNo",
"Type": 2,
"IsVisible": true,
"Top": 4.51799894123875,
"Left": 5.020275277924827,
"Width": 18.073398623610373,
"Height": 18.073398623610373,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "",
"FormatValue": "01234567890123"
},
{
"Name": "codeNo",
"Type": 1,
"IsVisible": true,
"Top": 9.331815775542616,
"Left": 25.329221810481734,
"Width": 40.72922181048174,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "电子券号:{0}",
"FormatValue": "电子券号:01234567890123"
},
{
"Name": "channelName",
"Type": 1,
"IsVisible": true,
"Top": 29.861302276336687,
"Left": 5.065802011646373,
"Width": 43.971678136580195,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "渠道来源:{0}",
"FormatValue": "渠道来源:窗口"
},
{
"Name": "buyNum",
"Type": 1,
"IsVisible": true,
"Top": 34.676283748014825,
"Left": 5.067840127051349,
"Width": 33.0574377977766,
"Height": 5.558496559025939,
"Font": "微软雅黑,12pt,style=Underline",
"TextAlign": 1,
"Format": "可用人数:{0}",
"FormatValue": "可用人数:1"
},
{
"Name": "Common",
"Type": 0,
"IsVisible": true,
"Top": 40.497617787188986,
"Left": 5.012122816304924,
"Width": 65.82530439385918,
"Height": 8.99947061937533,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "索道门票限当日22:00前使用,巴士门票限当日19:00前使用,一经售出不可退换(北站售)",
"FormatValue": "索道门票限当日22:00前使用,巴士门票限当日19:00前使用,一经售出不可退换(北站售)"
},
{
"Name": "productName",
"Type": 1,
"IsVisible": true,
"Top": 24.795976707252514,
"Left": 5.065802011646373,
"Width": 46.883271572260455,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "客票类别:{0:*:2,2,1}",
"FormatValue": "客票类别:途比达门票(自动修改)"
},
{
"Name": "PlayerType",
"Type": 1,
"IsVisible": true,
"Top": 19.730121757543674,
"Left": 25.329221810481734,
"Width": 26.35322922181048,
"Height": 4.235044997353096,
"Font": "微软雅黑,9pt,style=Underline",
"TextAlign": 1,
"Format": "游客类型:{0}",
"FormatValue": "游客类型:"
},
{
"Name": "salePriceTotal",
"Type": 1,
"IsVisible": true,
"Top": 34.66225516146109,
"Left": 39.194547379565904,
"Width": 29.2649550026469,
"Height": 5.558496559025939,
"Font": "微软雅黑,12pt,style=Underline",
"TextAlign": 1,
"Format": "票价:{0}",
"FormatValue": "票价:20"
}
]
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment