Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for newInputStream (0.19 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                public Path getPath() {
                    return actual;
                }
    
                @Override
                public InputStream openStream() throws IOException {
                    return Files.newInputStream(actual);
                }
    
                @Override
                public String getLocation() {
                    return actual.toString();
                }
    
                @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
                try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) {
                    response.setStatus(HttpServletResponse.SC_OK);
                    writeHeaders(response);
                    CopyUtil.copy(in, out);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(propFile.exists());
    
            // Read and verify properties
            Properties props = new Properties();
            try (var in = Files.newInputStream(propFile.toPath())) {
                props.load(in);
                // The property should be in the file if it was in system properties
                String value = props.getProperty("test.prop");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         * @throws FessSystemException if the properties file cannot be parsed.
         */
        protected void parseProjectProperties(final Path propPath) {
            try (final InputStream in = Files.newInputStream(propPath)) {
                final Properties prop = new Properties();
                prop.load(in);
                version = prop.getProperty("fess.version", "0.0.0");
                final String[] values = version.split("\\.");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
Back to Top