Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 291 for file (0.1 sec)

  1. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

         * {@link FileOutputStream}を作成します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @return ファイルへ出力する{@link FileOutputStream}
         * @see FileOutputStream#FileOutputStream(File)
         */
        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         *            プロパティセット。{@literal null}であってはいけません
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @param encoding
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         */
        public static void load(final Properties props, final File file, final String encoding) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.io.File;
    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class FileUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/SystemUtil.java

    /**
     * システムプロパティ用のユーティリティクラスです。
     *
     * @author wyukawa
     * @author shinsuke
     *
     */
    public abstract class SystemUtil {
    
        /**
         * <code>file.encoding</code>システムプロパティ。例:UTF-8
         */
        public static final String FILE_ENCODING = System.getProperty("file.encoding");
    
        /**
         * <code>line.separator</code> システムプロパティ。例えばMac OS Xなら
         * <code>&quot;\n&quot;</code>
         */
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/SchemaUtil.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/exception/FileAccessException.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/util/MyBean.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 803 bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/util/MyBean2.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 779 bytes
    - Viewed (0)
Back to top