Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 47 of 47 for getResourceAsStream (0.2 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      companion object {
        internal const val NAME = "okcurl"
        internal const val DEFAULT_TIMEOUT = -1
    
        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        private fun createInsecureTrustManager(): X509TrustManager =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

        }
    
        public static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
                    MavenCli.class.getResourceAsStream("/org/apache/maven/messages/build.properties")) {
    
                if (resourceAsStream != null) {
                    properties.load(resourceAsStream);
                }
            } catch (IOException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br = new BufferedReader(
                    new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings.json")));) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br = new BufferedReader(new InputStreamReader(
                    this.getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest_settings_array.json")));) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NetworkExplorer.java

                }
                else {
                    this.credentialsSupplied = true;
                }
    
                try {
                    try ( InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css"); ) {
                        while ( ( n = is.read(buf) ) != -1 ) {
                            sb.append(new String(buf, 0, n, "ISO8859_1"));
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        private ModelValidator validator;
    
        private Model read(String pom) throws Exception {
            String resource = "/poms/validation/" + pom;
            try (InputStream is = getClass().getResourceAsStream(resource)) {
                assertNotNull(is, "missing resource: " + resource);
                return new Model(new MavenStaxReader().read(is));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                ntlmSsp = new NtlmSsp();
            } else {
                credentialsSupplied = true;
            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/http/ne.css" );
                while(( n = is.read( buf )) != -1 ) {
                    sb.append( new String( buf, 0, n, "ISO8859_1" ));
                }
                style = sb.toString();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top