Searched refs:format (Results 1 - 25 of 196) sorted by relevance

12345678

/glassfish-3.1.2/persistence/cmp/generator-database/src/main/java/com/sun/jdo/spi/persistence/generator/database/
H A DDDLTemplateFormatter.java52 * This class provides methods that format strings containing DDL. The
122 return createTableStart.format(o);
129 return createIndex.format(o);
136 return alterTableAddConstraintStart.format(o);
143 return alterTableDropConstraint.format(o);
150 return primaryKeyConstraint.format(o);
157 return foreignKeyConstraint.format(o);
164 return dropTable.format(o);
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRelayService.java196 fmt.format("<hostname>%s</hostname>\r\n", se.getHostname());
197 fmt.format("<hostId>%s</hostId>\r\n",se.getHostId());
198 fmt.format("<osName>%s</osName>\r\n",se.getOsName());
199 fmt.format("<osVersion>%s</osVersion>\r\n",se.getOsVersion());
200 fmt.format("<osArchitecture>%s</osArchitecture>\r\n",se.getOsArchitecture());
201 fmt.format("<systemModel>%s</systemModel>\r\n",se.getSystemModel());
202 fmt.format("<systemManufacturer>%s</systemManufacturer>\r\n",se.getSystemManufacturer());
203 fmt.format("<cpuManufacturer>%s</cpuManufacturer>\r\n",se.getCpuManufacturer());
204 fmt.format("<serialNumber>%s</serialNumber>\r\n",se.getSerialNumber());
211 fmt.format("<nam
[all...]
H A DSvcTag.java275 String msg = String.format("instance_urns do not match (%s != %s)",
444 return df.format(timestamp);
466 fmt.format("<service_tag>\n");
467 fmt.format(" <instance_urn>%s</instance_urn>\n", instanceURN);
468 fmt.format(" <sun_user_id>%s</sun_user_id>\n", encode(userID));
469 fmt.format(" <agent_urn>%s</agent_urn>\n", agentURN);
470 fmt.format(" <product_name>%s</product_name>\n", encode(productName));
471 fmt.format(" <product_version>%s</product_version>\n", encode(version));
472 fmt.format(" <product_vendor>%s</product_vendor>\n", encode(vendor));
473 fmt.format(" <product_ur
[all...]
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/
H A DFormatterDelegate.java53 public void format(StringBuilder buf, Level level); method in interface:FormatterDelegate
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DNanoDuration.java83 s = String.format(fmt, numSeconds, "seconds");
85 s = String.format(fmt, numMilliSeconds, "msec");
87 s = String.format(fmt, numMicroSeconds, "usec");
89 s = String.format(fmt, numNanoSeconds, "nsec");
91 s = String.format(fmt, 0.0, "nsec"); // unlikely!
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DPrintWriterAdapter.java212 public PrintWriter printf(String format, Object... args) { argument
214 return writer.printf(format, args);
217 public PrintWriter printf(Locale l, String format, Object... args) { argument
219 return writer.printf(l, format, args);
222 public PrintWriter format(String format, Object... args) { argument
224 return writer.format(format, args);
227 public PrintWriter format(Locale l, String format, Objec argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/utility/
H A DStringScanner.java117 public static String format(StringBuffer buf, String fmt, Object o1) method in class:StringScanner
119 return format(buf, fmt, 1, o1, null, null, null, null, null, null,
123 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
127 return format(buf, fmt, 2, o1, o2, null, null, null, null, null,
131 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
136 return format(buf, fmt, 3, o1, o2, o3, null, null, null, null,
140 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
146 return format(buf, fmt, 4, o1, o2, o3, o4, null, null, null,
150 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
157 return format(bu
160 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
171 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
183 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
196 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
210 public static String format(StringBuffer buf, String fmt, method in class:StringScanner
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/
H A DJDOConcreteBean11Generator.java159 lbody.append(CMP11TemplateFormatter.l11arrayformatter.format(twoParams));
165 sbody.append(CMP11TemplateFormatter.s11arrayformatter.format(threeParams));
176 lbody.append(CMP11TemplateFormatter.l11Serializableformatter.format(fourParams));
183 sbody.append(CMP11TemplateFormatter.s11Serializableformatter.format(fourParams));
190 lbody.append(CMP11TemplateFormatter.l11copyformatter.format(threeParams));
198 sbody.append(CMP11TemplateFormatter.s11copyformatter.format(fourParams));
202 sbody.append(CMP11TemplateFormatter.assertpks11formatter.format(twoParams)).
203 append(CMP11TemplateFormatter.pkcopy11formatter.format(fourParams));
210 lbody.append(CMP11TemplateFormatter.l11formatter.format(twoParams));
217 sbody.append(CMP11TemplateFormatter.s11formatter.format(threeParam
[all...]
H A DJDOConcreteBean20Generator.java268 gbody = CMP20TemplateFormatter.copygformatter.format(twoParams);
273 sbody = CMP20TemplateFormatter.copysformatter.format(twoParams);
276 sbody = CMP20TemplateFormatter.assertpksformatter.format(params) +
277 CMP20TemplateFormatter.pkcopysformatter.format(twoParams);
285 gbody = CMP20TemplateFormatter.arraygformatter.format(oneParam);
289 sbody = CMP20TemplateFormatter.arraysformatter.format(oneParam);
298 gbody = CMP20TemplateFormatter.sfldgformatter.format(threeParams);
303 sbody = CMP20TemplateFormatter.sfldsformatter.format(twoParams);
307 gbody = CMP20TemplateFormatter.gformatter.format(oneParam);
312 sbody = CMP20TemplateFormatter.sformatter.format(onePara
[all...]
H A DJDOConcreteBeanGenerator.java290 CMPTemplateFormatter.hcomformatter.format(oneParam)));
425 CMPTemplateFormatter.privatetransientvformatter.format(pcnameParam),
439 CMPTemplateFormatter.privatestaticfinalvformatter.format(twoParams),
447 CMPTemplateFormatter.publicstaticfinalvformatter.format(twoParams),
462 CMPTemplateFormatter.hvformatter.format(threeParams),
470 CMPROTemplateFormatter.privatetransientvformatter.format(pcnameParam),
741 body = CMPTemplateFormatter.jdoarraycopyformatter.format(oneParam);
779 CMPTemplateFormatter.goidformatter.format(param)), // body
816 CMPTemplateFormatter.intxformatter.format(oneParam));
890 CMPTemplateFormatter.getBodyAsStrings(mformat.format(onePara
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DRowFormatter.java45 * to format data where tabular formats cannot be used
60 * This will return a String of the format
71 String.format("invalid number of columns (%d), expected (%d)",
91 sb.append( String.format(formattedline.toString(),headings[i],objs[i])).append("\n");
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/callbackhandler/
H A DStringManager.java56 return MessageFormat.format(message, args);
/glassfish-3.1.2/web/gui-plugin-common/src/main/java/org/glassfish/web/plugin/common/
H A DListWebContextParamCommand.java74 final String format = localStrings.getLocalString(
79 childPart.setMessage(MessageFormat.format(format,
H A DListWebEnvEntryCommand.java75 final String format = localStrings.getLocalString(
80 childPart.setMessage(MessageFormat.format(format,
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DRepositoryException.java84 private String format(String msg, String causeMsg, Throwable cause) method in class:RepositoryException
110 msg = format(msg, cause.getMessage(), cause);
123 msg = format(msg, cause.getLocalizedMessage(), cause);
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/soap/
H A DStringTranslator.java196 mLog.warning(MessageFormat.format(LOG_UNABLE_TO_LOAD_BUNDLE,
227 mLog.warning(MessageFormat.format(LOG_UNABLE_TO_LOAD_BUNDLE,
229 mLog.warning(MessageFormat.format(LOG_USING_BUNDLE,
363 translated = MessageFormat.format(translated, inserts);
372 translated = MessageFormat.format(translated, inserts);
373 mLog.fine(MessageFormat.format(
381 MessageFormat.format(MSG_NO_TRANSLATION,
383 mLog.warning(MessageFormat.format(
392 MessageFormat.format(MSG_NO_TRANSLATION,
394 mLog.warning(MessageFormat.format(
[all...]
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/
H A DMonitorTask.java91 title = String.format("%1$-10s %2$-10s %3$-10s",
94 title = String.format("%1$-4s %2$-4s %3$-6s %4$-4s",
97 title = String.format("%1$45s", strings.get("monitor.jvm.title"));
104 title = String.format("%1$-10s %2$-10s %3$-10s %4$-10s",
110 title = String.format("%1$-35s %2$-40s", strings.get("monitor.jvm.uptime.title"),
113 title = String.format(
120 title = String.format(
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DEnvironmentInformation.java399 * Converts the environment information object into an XML format.
406 fmt.format("<environment>\n");
407 fmt.format("<hostname>%s</hostname>\n", hostname);
408 fmt.format("<hostId>%s</hostId>\n", hostId);
409 fmt.format("<osName>%s</osName>\n", osName);
410 fmt.format("<osVersion>%s</osVersion>\n", osVersion);
411 fmt.format("<osArchitecture>%s</osArchitecture>\n", osArchitecture);
412 fmt.format("<systemModel>%s</systemModel>\n", systemModel);
413 fmt.format("<systemManufacturer>%s</systemManufacturer>\n",
415 fmt.format("<cpuManufacture
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/common/util/logging/
H A DLoggingOutputStream.java211 formatter.format(str,args);
219 formatter.format(str,args);
224 public PrintStream format(String format, Object... args) { argument
227 formatter.format(Locale.getDefault(), format, args);
232 public PrintStream format(Locale locale,String format, Object... args) { argument
235 formatter.format(locale, format, arg
[all...]
/glassfish-3.1.2/appclient/client/acc/src/main/java/org/glassfish/appclient/client/acc/
H A DFacadeLaunchable.java216 throw new UserError(MessageFormat.format(
333 final String msg = MessageFormat.format(
351 throw new UserError(MessageFormat.format(
358 throw new UserError(MessageFormat.format(
365 throw new UserError(MessageFormat.format(
373 throw new UserError(MessageFormat.format(
385 throw new UserError(MessageFormat.format(
392 throw new UserError(MessageFormat.format(
399 throw new UserError(MessageFormat.format(
437 logger.log(Level.INFO, MessageFormat.format(
[all...]
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/
H A DEjbContainerPreHandler.java91 throw new Exception( format( rb.getString ("client.unauthorized")
101 private String format(String key, String ... values){ method in class:EjbContainerPreHandler
102 return MessageFormat.format(key, (Object [])values);
H A DServletPostHandler.java108 logger.log(Level.WARNING, format(rb.getString("postWebHandlerError"), e.toString()));
115 private String format(String key, String ... values){ method in class:ServletPostHandler
116 return MessageFormat.format(key, (Object [])values);
H A DServletPreHandler.java99 logger.log(Level.WARNING, format(rb.getString("preWebHandlerError"), e.toString()));
105 private String format(String key, String ... values){ method in class:ServletPreHandler
106 return MessageFormat.format(key, (Object [])values);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ssi/
H A DSSIFsize.java139 protected String formatSize(long size, String format) { argument
141 if (format.equalsIgnoreCase("bytes")) {
143 retString = decimalFormat.format(size);
156 retString = decimalFormat.format(size / (double)ONE_MEGABYTE);
/glassfish-3.1.2/installer/src/cpp/share/launcher/
H A Djava_md.winnt.h77 extern int statusf(const char* format, ...);

Completed in 1779 milliseconds

12345678