Source Code Cross Referenced for RmicStrings.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » rmi » compiler » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » org package » org.apache.harmony.rmi.compiler 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         *
015:         * See the License for the specific language governing permissions and
016:         * limitations under the License.
017:         */
018:
019:        /**
020:         * @author  Vasily Zakharov
021:         * @version $Revision: 1.1.2.1 $
022:         */package org.apache.harmony.rmi.compiler;
023:
024:        import org.apache.harmony.rmi.internal.nls.Messages;
025:
026:        /**
027:         * This interface contains command line options and other textual constants
028:         * for RMI Compiler.
029:         *
030:         * @author  Vasily Zakharov
031:         * @version $Revision: 1.1.2.1 $
032:         */
033:        interface RmicStrings extends RmicConstants {
034:
035:            /**
036:             * Options prefix character.
037:             */
038:            String optionPrefix = "-"; //$NON-NLS-1$
039:
040:            /**
041:             * <code>-v1.1</code> option.
042:             */
043:            String optionV11 = optionPrefix + "v1.1"; //$NON-NLS-1$
044:
045:            /**
046:             * <code>-v1.2</code> option.
047:             */
048:            String optionV12 = optionPrefix + "v1.2"; //$NON-NLS-1$
049:
050:            /**
051:             * <code>-vcompat</code> option.
052:             */
053:            String optionVCompat = optionPrefix + "vcompat"; //$NON-NLS-1$
054:
055:            /**
056:             * <code>-idl</code> option.
057:             */
058:            String optionIDL = optionPrefix + "idl"; //$NON-NLS-1$
059:
060:            /**
061:             * <code>-iiop</code> option.
062:             */
063:            String optionIIOP = optionPrefix + "iiop"; //$NON-NLS-1$
064:
065:            /**
066:             * <code>-source</code> option for Java Compiler.
067:             */
068:            String optionSource = optionPrefix + "source"; //$NON-NLS-1$
069:
070:            /**
071:             * <code>-target</code> option.
072:             */
073:            String optionTarget = optionPrefix + "target"; //$NON-NLS-1$
074:
075:            /**
076:             * <code>-keep</code> option.
077:             */
078:            String optionKeep = optionPrefix + "keep"; //$NON-NLS-1$
079:
080:            /**
081:             * <code>-keepgenerated</code> option.
082:             */
083:            String optionKeepGenerated = optionPrefix + "keepgenerated"; //$NON-NLS-1$
084:
085:            /**
086:             * <code>-always</code> option.
087:             */
088:            String optionAlways = optionPrefix + "always"; //$NON-NLS-1$
089:
090:            /**
091:             * <code>-alwaysgenerate</code> option.
092:             */
093:            String optionAlwaysGenerate = optionPrefix + "alwaysgenerate"; //$NON-NLS-1$
094:
095:            /**
096:             * <code>-factory</code> option.
097:             */
098:            String optionFactory = optionPrefix + "factory"; //$NON-NLS-1$
099:
100:            /**
101:             * <code>-noValueMethods</code> option.
102:             */
103:            String optionNoValueMethods = optionPrefix + "noValueMethods"; //$NON-NLS-1$
104:
105:            /**
106:             * <code>-nolocalstubs</code> option.
107:             */
108:            String optionNoLocalStubs = optionPrefix + "nolocalstubs"; //$NON-NLS-1$
109:
110:            /**
111:             * <code>-poa</code> option.
112:             */
113:            String optionPOA = optionPrefix + "poa"; //$NON-NLS-1$
114:
115:            /**
116:             * <code>-g</code> option.
117:             */
118:            String optionDebug = optionPrefix + 'g';
119:
120:            /**
121:             * <code>-g:</code> option.
122:             */
123:            String optionDebugDetails = optionDebug + ':';
124:
125:            /**
126:             * <code>-nowarn</code> option.
127:             */
128:            String optionNoWarnings = optionPrefix + "nowarn"; //$NON-NLS-1$
129:
130:            /**
131:             * <code>-nowrite</code> option.
132:             */
133:            String optionNoWrite = optionPrefix + "nowrite"; //$NON-NLS-1$
134:
135:            /**
136:             * <code>-verbose</code> option.
137:             */
138:            String optionVerbose = optionPrefix + "verbose"; //$NON-NLS-1$
139:
140:            /**
141:             * <code>-depend</code> option.
142:             */
143:            String optionDepend = optionPrefix + "depend"; //$NON-NLS-1$
144:
145:            /**
146:             * <code>-idlModule</code> option.
147:             */
148:            String optionIdlModule = optionPrefix + "idlModule"; //$NON-NLS-1$
149:
150:            /**
151:             * <code>-idlFile</code> option.
152:             */
153:            String optionIdlFile = optionPrefix + "idlFile"; //$NON-NLS-1$
154:
155:            /**
156:             * <code>-d</code> option.
157:             */
158:            String optionDestinationDir = optionPrefix + 'd';
159:
160:            /**
161:             * <code>-classpath</code> option.
162:             */
163:            String optionClassPath = optionPrefix + "classpath"; //$NON-NLS-1$
164:
165:            /**
166:             * <code>-cp</code> option.
167:             */
168:            String optionCP = optionPrefix + "cp"; //$NON-NLS-1$
169:
170:            /**
171:             * <code>-bootclasspath</code> option.
172:             */
173:            String optionBootClassPath = optionPrefix + "bootclasspath"; //$NON-NLS-1$
174:
175:            /**
176:             * <code>-extdirs</code> option.
177:             */
178:            String optionExtDirs = optionPrefix + "extdirs"; //$NON-NLS-1$
179:
180:            /**
181:             * <code>-J</code> option.
182:             */
183:            String optionJava = optionPrefix + 'J';
184:
185:            /**
186:             * <code>-X</code> option.
187:             */
188:            String optionX = optionPrefix + 'X';
189:
190:            /**
191:             * RMI Compiler usage text.
192:             */
193:
194:            /* rmi.console.1C=Usage: rmic <options> <class names>
195:             * rmi.console.1D=Options:
196:             * rmi.console.1E=Create stubs/skeletons for 1.1 stub protocol version only
197:             * rmi.console.1F=(default) Create stubs for 1.2 stub protocol version only
198:             * rmi.console.20=Create stubs/skeletons compatible with both v1.1 and v1.2
199:             * rmi.console.21=Generate class files for the specified VM version
200:             * rmi.console.22=Do not delete generated source files
201:             * rmi.console.23=\ \ \ \ \ (the same as "
202:             * rmi.console.24=\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Generate debug information
203:             * rmi.console.25=\ \ \ \ \ \ \ \ \ \ \ \ Do not notify about warnings
204:             * rmi.console.26=Check run: do not write compiled classes
205:             * rmi.console.27=\ \ \ \ \ \ \ \ \ \ \ Print detailed compilation log
206:             * rmi.console.28=\ <directory>         Target directory for generated files
207:             * rmi.console.29=\ <path>      Input class files location
208:             * rmi.console.2A=\ <path>             (the same as "
209:             * rmi.console.2B=\ <path>  Override location of bootstrap class files
210:             * rmi.console.2C=\ <dirs>        Override location of installed extensions
211:             * rmi.console.2D=<JVM option>         Pass option to JVM
212:             * rmi.console.2E=<extended option>    Pass -X option to JVM
213:             */
214:            String usageText = Messages.getString("rmi.console.1C") + EOLN //$NON-NLS-1$
215:                    + EOLN
216:                    + Messages.getString("rmi.console.1D") + EOLN + "  " + optionV11 + "              " //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
217:                    + Messages.getString("rmi.console.1E") //$NON-NLS-1$
218:                    + EOLN
219:                    + "  " + optionV12 + "              " //$NON-NLS-1$ //$NON-NLS-2$
220:                    + Messages.getString("rmi.console.1F") //$NON-NLS-1$
221:                    + EOLN
222:                    + "  " + optionVCompat + "           " //$NON-NLS-1$ //$NON-NLS-2$
223:                    + Messages.getString("rmi.console.20") //$NON-NLS-1$
224:                    + EOLN
225:                    + EOLN
226:                    + "  " + optionTarget + " <version>  " //$NON-NLS-1$ //$NON-NLS-2$
227:                    + Messages.getString("rmi.console.21") //$NON-NLS-1$
228:                    + EOLN
229:                    + EOLN
230:                    + "  " + optionKeep + "              " //$NON-NLS-1$ //$NON-NLS-2$
231:                    + Messages.getString("rmi.console.22") + EOLN + "  " //$NON-NLS-1$ //$NON-NLS-2$
232:                    + optionKeepGenerated
233:                    + Messages.getString("rmi.console.23") + optionKeep + "\")" //$NON-NLS-1$ //$NON-NLS-2$
234:                    + EOLN
235:                    + EOLN
236:                    + "  " + optionDebug //$NON-NLS-1$
237:                    + Messages.getString("rmi.console.24") + EOLN + "  " //$NON-NLS-1$ //$NON-NLS-2$
238:                    + optionNoWarnings
239:                    + Messages.getString("rmi.console.25") //$NON-NLS-1$
240:                    + EOLN
241:                    + "  " + optionNoWrite + "           " //$NON-NLS-1$ //$NON-NLS-2$
242:                    + Messages.getString("rmi.console.26") + EOLN + "  " //$NON-NLS-1$ //$NON-NLS-2$
243:                    + optionVerbose
244:                    + Messages.getString("rmi.console.27") //$NON-NLS-1$
245:                    + EOLN
246:                    + EOLN
247:                    + "  " + optionDestinationDir //$NON-NLS-1$
248:                    + Messages.getString("rmi.console.28") //$NON-NLS-1$
249:                    + EOLN
250:                    + "  " + optionClassPath //$NON-NLS-1$
251:                    + Messages.getString("rmi.console.29") //$NON-NLS-1$
252:                    + EOLN
253:                    + "  " + optionCP + Messages.getString("rmi.console.2A") //$NON-NLS-1$ //$NON-NLS-2$
254:                    + optionClassPath
255:                    + "\")" + EOLN + "  " + optionBootClassPath //$NON-NLS-1$ //$NON-NLS-2$
256:                    + Messages.getString("rmi.console.2B") //$NON-NLS-1$
257:                    + EOLN + "  " + optionExtDirs //$NON-NLS-1$
258:                    + Messages.getString("rmi.console.2C") //$NON-NLS-1$
259:                    + EOLN + EOLN + "  " + optionJava //$NON-NLS-1$
260:                    + Messages.getString("rmi.console.2D") //$NON-NLS-1$
261:                    + EOLN + "  " + optionX //$NON-NLS-1$
262:                    + Messages.getString("rmi.console.2E"); //$NON-NLS-1$
263:
264:            /**
265:             * Version error text.
266:             */
267:            /* rmi.console.2F=You should specify at most one of "
268:             * rmi.console.31=" (default), "
269:             */
270:            String errorVersionText = Messages.getString("rmi.console.2F") //$NON-NLS-1$
271:                    + optionV11
272:                    + "\", \"" + optionV12 + Messages.getString("rmi.console.31") //$NON-NLS-1$ //$NON-NLS-2$
273:                    + optionVCompat
274:                    + "\", \"" + optionIDL + "\", \"" + optionIIOP; //$NON-NLS-1$ //$NON-NLS-2$
275:
276:            /**
277:             * No option parameter error text.
278:             */
279:            /*
280:             rmi.console.32=Option %s requires a parameter
281:             */
282:            String errorNeedParameterText = Messages
283:                    .getString("rmi.console.32"); //$NON-NLS-1$
284:
285:            /**
286:             * No JVM option parameter error text.
287:             */
288:            /*
289:             * rmi.console.33=Option %s must be immediately (without a space) followed by a JVM option
290:             */
291:            String errorNeedJVMParameterText = Messages
292:                    .getString("rmi.console.33"); //$NON-NLS-1$
293:
294:            /**
295:             * Need two parameters error text.
296:             */
297:            /*
298:             * rmi.console.35=Option %s requires two parameters 
299:             */
300:            String errorNeedTwoParametersText = Messages
301:                    .getString("rmi.console.35"); //$NON-NLS-1$
302:
303:            /**
304:             * Unknown option error text.
305:             */
306:            /*
307:             * rmi.console.36=Unknown option: %s
308:             */
309:            String errorUnknownOptionText = Messages
310:                    .getString("rmi.console.36"); //$NON-NLS-1$
311:
312:            /**
313:             * No classes to compile error text.
314:             */
315:            /*
316:             * rmi.console.37=No classes to compile specified
317:             */
318:            String errorNoClassesText = Messages.getString("rmi.console.37"); //$NON-NLS-1$
319:
320:            /**
321:             * Unusable IDL/IIOP option error text.
322:             */
323:            /*
324:             * rmi.console.38=Option %s must only be used with {0} or {1}
325:             */
326:            String errorUnusableExceptIDL_IIOP = Messages.getString(
327:                    "rmi.console.38", //$NON-NLS-1$
328:                    optionIDL, optionIIOP);
329:
330:            /**
331:             * Unusable IDL option error text.
332:             */
333:            /*
334:             * rmi.console.39=Option %s must only be used with {0}
335:             */
336:            String errorUnusableExceptIDL = Messages.getString(
337:                    "rmi.console.39", //$NON-NLS-1$
338:                    optionIDL);
339:
340:            /**
341:             * Unusable IIOP option error text.
342:             */
343:            /*
344:             * rmi.console.3A=Option %s must only be used with {0}
345:             */
346:            String errorUnusableExceptIIOP = Messages.getString(
347:                    "rmi.console.3A", //$NON-NLS-1$
348:                    optionIIOP);
349:
350:            /**
351:             * Warning about classpath.
352:             */
353:            /*
354:             * rmi.console.3B=%s is specified. For proper operation the same %s + 
355:             *                should be specified in VM arguments. This is a + 
356:             *                limitation of current RMIC implementation.
357:             */
358:            String warningClassPathText = Messages.getString("rmi.console.3B"); //$NON-NLS-1$
359:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.