Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fruiter (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
                throw new IllegalArgumentException("writer or outputStream must be non null");
            }
            try {
                if (writer != null) {
                    new MavenToolchainsStaxWriter().write(writer, content);
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null && path == null) {
                throw new IllegalArgumentException("writer, outputStream or path must be non null");
            }
            try {
                if (writer != null) {
                    new MavenStaxWriter().write(writer, content);
                } else if (outputStream != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null && path == null) {
                throw new IllegalArgumentException("writer, outputStream or path must be non null");
            }
            try {
                if (writer != null) {
                    new PluginDescriptorStaxWriter().write(writer, content);
                } else if (outputStream != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

         * .
         *
         * @throws IOException
         */
        @Test
        public void testStorePropertiesWriterString() throws IOException {
            final Properties outProperties = new Properties();
            outProperties.setProperty("a", "A");
            final File file = tempFolder.newFile("hoge.properties");
            final Writer writer = WriterUtil.create(file);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsXmlFactory.java

            OutputStream outputStream = request.getOutputStream();
            Writer writer = request.getWriter();
            if (writer == null && outputStream == null) {
                throw new IllegalArgumentException("writer or outputStream must be non null");
            }
            try {
                if (writer != null) {
                    new SettingsStaxWriter().write(writer, content);
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            final int result = copy(url, "UTF-8", writer);
            assertThat(result, is(urlString.length()));
            assertThat(writer.toString(), is(urlString));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToWriter() throws Exception {
            final int result = copy(inputFile, "UTF-8", writer);
            assertThat(result, is(urlString.length()));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/PropertiesUtil.java

            assertArgumentNotNull("props", props);
            assertArgumentNotNull("writer", writer);
    
            try {
                props.store(writer, comments);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * 指定のエンコーディングでファイルを書き出して{@link Properties}をストアします(例外処理はラップします)。
         *
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            getProperties().store(out, comments);
        }
    
        @Override
        public void store(final Writer writer, final String comments) throws IOException {
            getProperties().store(writer, comments);
        }
    
        @Override
        public void storeToXML(final OutputStream os, final String comment, final String encoding) throws IOException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/WriterUtil.java

    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link Writer}用のユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class WriterUtil {
    
        /**
         * 指定のエンコーディングでストリームへ出力する{@link Writer}を作成します。
         *
         * @param os
         *            ストリーム。{@literal null}であってはいけません
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top