01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: /**
18: * @author Igor A. Pyankov
19: * @version $Revision: 1.2 $
20: */package org.apache.harmony.x.print.ipp.resources;
21:
22: import java.util.ListResourceBundle;
23:
24: /** This class contains messages that are used in IppOperation and related classes.
25: * Most of messages can be found in RFC 2911/2910/3380
26: * http://ietf.org/rfc/rfc2911.txt?number=2911
27: * http://ietf.org/rfc/rfc2910.txt?number=2910
28: * http://ietf.org/rfc/rfc3380.txt?number=3380
29: */
30:
31: public class IppStrings extends ListResourceBundle {
32:
33: public Object[][] getContents() {
34: return strings;
35: }
36:
37: static final Object[][] strings = {
38: { "IppOperation.PRINT_JOB", "Print-Job" },
39: { "IppOperation.PRINT_URI", "Print-URI" },
40: { "IppOperation.VALIDATE_JOB", "Validate-Job" },
41: { "IppOperation.CREATE_JOB", "Create-Job" },
42: { "IppOperation.SEND_DOCUMENT", "Send-Document" },
43: { "IppOperation.SEND_URI", "Send-URI" },
44: { "IppOperation.CANCEL_JOB", "Cancel-Job" },
45: { "IppOperation.GET_JOB_ATTRIBUTES", "Get-Job-Attributes" },
46: { "IppOperation.GET_JOBS", "Get-Jobs" },
47: { "IppOperation.GET_PRINTER_ATTRIBUTES",
48: "Get-Printer-Attributes" },
49: { "IppOperation.HOLD_JOB", "Hold-Job" },
50: { "IppOperation.RELEASE_JOB", "Release-Job" },
51: { "IppOperation.RESTART_JOB", "Restart-Job" },
52: { "IppOperation.RESERVED_FOR_A_FUTURE_OPERATION",
53: "reserved for a future operation" },
54: { "IppOperation.PAUSE_PRINTER", "Pause-Printer" },
55: { "IppOperation.RESUME_PRINTER", "Resume-Printer" },
56: { "IppOperation.PURGE_JOBS", "Purge-Jobs" },
57: { "IppOperation.TAG_CUPS_GET_DEFAULT",
58: "CUPS Get default printer" },
59: { "IppOperation.TAG_CUPS_GET_PRINTERS",
60: "CUPS Get all printers" },
61:
62: { "IppAttributesGroup.OPERATION_ATTRIBUTES",
63: "Operation Attributes" },
64: { "IppAttributesGroup.JOB_TEMPLATE_ATTRIBUTES",
65: "Job Template Attributes" },
66: { "IppAttributesGroup.JOB_OBJECT_ATTRIBUTES",
67: "Job Object Attributes" },
68: { "IppAttributesGroup.GET_JOB_ATTRIBUTES",
69: "Get Job Attributes" },
70: { "IppAttributesGroup.GET_PRINTER_ATTRIBUTES",
71: "Get Printer Attributes" },
72: { "IppAttributesGroup.RESERVED", "Reserved For Future" },
73: { "IppAttributesGroup.END_OF_ATTRIBUTES",
74: "end-of-attributes-tag" },
75: { "IppAttributesGroup.UNSUPPORTED_ATTRIBUTES",
76: "unsupported-attributes-tag" } };
77: }
|