Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getResourceAsStreamNoException (0.18 sec)

  1. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
            assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class"));
            assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetBuildDir() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *            リソースのパス。{@literal null}や空文字列であってはいけません
         * @return ストリーム
         * @see #getResourceAsStreamNoException(String, String)
         */
        public static InputStream getResourceAsStreamNoException(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResourceAsStreamNoException(path, null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top