Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for PrintWriter (0.21 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         * Emits warning messages if deprecated options are used.
         *
         * @param printWriter the string consumer to use for output
         */
        default void warnAboutDeprecatedOptions(@Nonnull ParserRequest request, @Nonnull Consumer<String> printWriter) {}
    
        /**
         * Displays help information for these options.
         *
         * @param printWriter the string consumer to use for output
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateDefaultImports.java

            ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> packages.add(classMetaData.getPackageName()));
    
            try (PrintWriter writer = new PrintWriter(new FileWriter(getImportsDestFile().getAsFile().get()))) {
                for (String packageName : packages) {
                    writer.print("import ");
                    writer.print(packageName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                    sb.append(cause.getClass().getName());
                } else {
                    sb.append(cause.getMessage());
                }
                try (final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw)) {
                    cause.printStackTrace(pw);
                    pw.flush();
                    sb.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

            return problems;
        }
    
        private static String toMessage(List<SettingsProblem> problems) {
            StringWriter buffer = new StringWriter(1024);
    
            PrintWriter writer = new PrintWriter(buffer);
    
            writer.print(problems.size());
            writer.print((problems.size() == 1) ? " problem was " : " problems were ");
            writer.print("encountered while building the effective settings");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

            return buf;
        }
    
        protected StringBuilder appendException(final StringBuilder buf, final Exception exception) {
            try (ByteArrayOutputStream baos = new ByteArrayOutputStream();
                    PrintWriter writer = new PrintWriter(baos, false, Constants.CHARSET_UTF_8)) {
                exception.printStackTrace(writer);
                writer.flush();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

            ClassMetaDataUtil.extractFromMetadata(getMetaDataFile().getAsFile().get(), getExcludedPackages().get(), classMetaData -> simpleNames.put(classMetaData.getSimpleName(), classMetaData.getClassName()));
            try (PrintWriter mappingFileWriter = new PrintWriter(new FileWriter(getMappingDestFile().getAsFile().get()))) {
                for (Map.Entry<String, Collection<String>> entry : simpleNames.asMap().entrySet()) {
                    if (entry.getValue().size() > 1) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            List<O> parsedOptions = parseCliOptions(context);
    
            // warn about deprecated options
            PrintWriter printWriter = new PrintWriter(parserRequest.out() != null ? parserRequest.out() : System.out, true);
            parsedOptions.forEach(o -> o.warnAboutDeprecatedOptions(parserRequest, printWriter::println));
    
            // assemble options if needed
            context.options = assembleOptions(parsedOptions);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.exception;
    
    import java.io.PrintStream;
    import java.io.PrintWriter;
    
    /**
     * @author shinsuke
     *
     */
    public class MultipleCrawlingAccessException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                MessageBuilderFactory messageBuilderFactory, PrintStream out, boolean printResourceNames) {
            this(messageBuilderFactory, new PrintWriter(out), printResourceNames);
        }
    
        public ConsoleMavenTransferListener(
                MessageBuilderFactory messageBuilderFactory, PrintWriter out, boolean printResourceNames) {
            super(messageBuilderFactory, out);
            this.printResourceNames = printResourceNames;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        }
    
        @Override
        public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {}
    
        @Override
        public void displayHelp(ParserRequest request, Consumer<String> printWriter) {
            options.get(0).displayHelp(request, printWriter);
        }
    
        protected <T> Optional<T> returnFirstPresentOrEmpty(Function<O, Optional<T>> getter) {
            for (O option : options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top