1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5 <!-- Generated by javadoc on Tue Feb 11 14:29:07 PST 2003 -->
9 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../../stylesheet.css" TITLE=
"Style">
11 <BODY BGCOLOR=
"white">
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME=
"navbar_top"><!-- --></A>
15 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
17 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
18 <A NAME=
"navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3">
20 <TR ALIGN=
"center" VALIGN=
"top">
21 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
22 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
23 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
24 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
25 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
26 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
30 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
36 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
37 <A HREF=
"../../../com/easysw/cups/IPPURLConnection.html"><B>PREV CLASS
</B></A>
38 NEXT CLASS
</FONT></TD>
39 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
40 <A HREF=
"../../../index.html" TARGET=
"_top"><B>FRAMES
</B></A>
41 <A HREF=
"IPPValue.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
44 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
45 SUMMARY:
INNER
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
46 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
47 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
50 <!-- =========== END OF NAVBAR =========== -->
53 <!-- ======== START OF CLASS DATA ======== -->
56 com.easysw.cups
</FONT>
62 +--
<B>com.easysw.cups.IPPValue
</B>
66 <DT>public class
<B>IPPValue
</B><DT>extends java.lang.Object
</DL>
72 <!-- ======== INNER CLASS SUMMARY ======== -->
75 <!-- =========== FIELD SUMMARY =========== -->
78 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
80 <A NAME=
"constructor_summary"><!-- --></A>
81 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
82 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
83 <TD COLSPAN=
2><FONT SIZE=
"+2">
84 <B>Constructor Summary
</B></FONT></TD>
86 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
87 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(boolean)">IPPValue
</A></B>(boolean
p_boolean)
</CODE>
90 Boolean constructor.
</TD>
92 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
93 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(byte)">IPPValue
</A></B>(byte
p_byte)
</CODE>
96 Byte constructor.
</TD>
98 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
99 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(byte, int, int)">IPPValue
</A></B>(byte
p_units,
101 int
p_yres)
</CODE>
104 Resolution constructor.
</TD>
106 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
107 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(char[])">IPPValue
</A></B>(char[]
p_date)
</CODE>
110 Date constructor.
</TD>
112 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
113 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(int)">IPPValue
</A></B>(int
p_int)
</CODE>
116 Integer constructor.
</TD>
118 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
119 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(int, boolean)">IPPValue
</A></B>(int
p_int,
120 boolean
anything)
</CODE>
123 Enum constructor.
</TD>
125 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
126 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(int, char[])">IPPValue
</A></B>(int
p_length,
127 char[]
p_data)
</CODE>
130 Raw data constructor.
</TD>
132 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
133 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(int, int)">IPPValue
</A></B>(int
p_lower,
134 int
p_upper)
</CODE>
137 Range constructor.
</TD>
139 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
140 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(short)">IPPValue
</A></B>(short
p_short)
</CODE>
143 Short constructor.
</TD>
145 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
146 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPValue(java.lang.String, java.lang.String)">IPPValue
</A></B>(java.lang.String
p_charset,
147 java.lang.String
p_text)
</CODE>
150 String constructor.
</TD>
154 <!-- ========== METHOD SUMMARY =========== -->
156 <A NAME=
"method_summary"><!-- --></A>
157 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
158 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
159 <TD COLSPAN=
2><FONT SIZE=
"+2">
160 <B>Method Summary
</B></FONT></TD>
162 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
163 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
164 <CODE> long
</CODE></FONT></TD>
165 <TD><CODE><B><A HREF=
"../../../com/easysw/cups/IPPValue.html#IPPDateToTime()">IPPDateToTime
</A></B>()
</CODE>
168 Convert an IPP Date value to Unix Time.
</TD>
171 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
172 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
173 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
174 <TD><B>Methods inherited from class java.lang.Object
</B></TD>
176 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
177 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
</CODE></TD>
183 <!-- ============ FIELD DETAIL =========== -->
186 <!-- ========= CONSTRUCTOR DETAIL ======== -->
188 <A NAME=
"constructor_detail"><!-- --></A>
189 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
190 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
191 <TD COLSPAN=
1><FONT SIZE=
"+2">
192 <B>Constructor Detail
</B></FONT></TD>
196 <A NAME=
"IPPValue(byte)"><!-- --></A><H3>
199 public
<B>IPPValue
</B>(byte
p_byte)
</PRE>
201 <DD>Byte constructor.
<DD><DL>
202 <DT><B>Parameters:
</B><DD><CODE><code>p_byte
</code></CODE> - Byte value.
</DL>
207 <A NAME=
"IPPValue(short)"><!-- --></A><H3>
210 public
<B>IPPValue
</B>(short
p_short)
</PRE>
212 <DD>Short constructor.
<DD><DL>
213 <DT><B>Parameters:
</B><DD><CODE><code>p_short
</code></CODE> - Short value.
</DL>
218 <A NAME=
"IPPValue(int)"><!-- --></A><H3>
221 public
<B>IPPValue
</B>(int
p_int)
</PRE>
223 <DD>Integer constructor.
<DD><DL>
224 <DT><B>Parameters:
</B><DD><CODE><code>p_int
</code></CODE> - Integer value.
</DL>
229 <A NAME=
"IPPValue(int, boolean)"><!-- --></A><H3>
232 public
<B>IPPValue
</B>(int
p_int,
233 boolean
anything)
</PRE>
235 <DD>Enum constructor.
<DD><DL>
236 <DT><B>Parameters:
</B><DD><CODE><code>p_int
</code></CODE> - Integer value - force to IPP enum.
</DL>
241 <A NAME=
"IPPValue(boolean)"><!-- --></A><H3>
244 public
<B>IPPValue
</B>(boolean
p_boolean)
</PRE>
246 <DD>Boolean constructor.
<DD><DL>
247 <DT><B>Parameters:
</B><DD><CODE><code>p_boolean
</code></CODE> - Boolean value.
</DL>
252 <A NAME=
"IPPValue(char[])"><!-- --></A><H3>
255 public
<B>IPPValue
</B>(char[]
p_date)
</PRE>
257 <DD>Date constructor. Also set the
<code>unix_time
</code> member.
<DD><DL>
258 <DT><B>Parameters:
</B><DD><CODE><code>p_date[]
</code></CODE> - Character array with date value.
</DL>
263 <A NAME=
"IPPValue(java.lang.String, java.lang.String)"><!-- --></A><H3>
266 public
<B>IPPValue
</B>(java.lang.String
p_charset,
267 java.lang.String
p_text)
</PRE>
269 <DD>String constructor. Set the
<code>string
</code> and
270 <code>charset
</code> values.
<DD><DL>
271 <DT><B>Parameters:
</B><DD><CODE><code>p_charset
</code></CODE> - Charset for string.
<DD><CODE><code>p_text
</code></CODE> - Text for string.
</DL>
276 <A NAME=
"IPPValue(int, int)"><!-- --></A><H3>
279 public
<B>IPPValue
</B>(int
p_lower,
280 int
p_upper)
</PRE>
282 <DD>Range constructor. Automatically swap as needed.
<DD><DL>
283 <DT><B>Parameters:
</B><DD><CODE><code>p_lower
</code></CODE> - Integer lower value.
<DD><CODE><code>p_upper
</code></CODE> - Integer upper value.
</DL>
288 <A NAME=
"IPPValue(byte, int, int)"><!-- --></A><H3>
291 public
<B>IPPValue
</B>(byte
p_units,
293 int
p_yres)
</PRE>
295 <DD>Resolution constructor.
<DD><DL>
296 <DT><B>Parameters:
</B><DD><CODE><code>p_units
</code></CODE> - Unit of measure.
<DD><CODE><code>p_xres
</code></CODE> - X resolution.
<DD><CODE><code>p_yres
</code></CODE> - Y resolution.
</DL>
301 <A NAME=
"IPPValue(int, char[])"><!-- --></A><H3>
304 public
<B>IPPValue
</B>(int
p_length,
305 char[]
p_data)
</PRE>
307 <DD>Raw data constructor.
<DD><DL>
308 <DT><B>Parameters:
</B><DD><CODE><code>p_length
</code></CODE> - Size of array.
<DD><CODE><code>p_data[]
</code></CODE> - Data.
</DL>
312 <!-- ============ METHOD DETAIL ========== -->
314 <A NAME=
"method_detail"><!-- --></A>
315 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
316 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
317 <TD COLSPAN=
1><FONT SIZE=
"+2">
318 <B>Method Detail
</B></FONT></TD>
322 <A NAME=
"IPPDateToTime()"><!-- --></A><H3>
325 public long
<B>IPPDateToTime
</B>()
</PRE>
327 <DD>Convert an IPP Date value to Unix Time.
<DD><DL>
328 <DT><B>Returns:
</B><DD><code>long
</code> Unix time in seconds.
<DT><B>See Also:
</B><DD><code>IPPCalender
</code></DL>
331 <!-- ========= END OF CLASS DATA ========= -->
334 <!-- ========== START OF NAVBAR ========== -->
335 <A NAME=
"navbar_bottom"><!-- --></A>
336 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
338 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
339 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
340 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3">
341 <TR ALIGN=
"center" VALIGN=
"top">
342 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
343 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
344 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
345 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
346 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
347 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
351 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
357 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
358 <A HREF=
"../../../com/easysw/cups/IPPURLConnection.html"><B>PREV CLASS
</B></A>
359 NEXT CLASS
</FONT></TD>
360 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
361 <A HREF=
"../../../index.html" TARGET=
"_top"><B>FRAMES
</B></A>
362 <A HREF=
"IPPValue.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
365 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
366 SUMMARY:
INNER
|
FIELD
|
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
367 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
368 DETAIL:
FIELD
|
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
371 <!-- =========== END OF NAVBAR =========== -->