Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getResourceAsStream (0.16 sec)

  1. src/main/java/jcifs/smb1/util/MimeMap.java

        private byte[] in;
        private int inLen;
    
        public MimeMap() throws IOException {
            int n;
    
            in = new byte[IN_SIZE];
            InputStream is = getClass().getClassLoader().getResourceAsStream( "jcifs/smb1/util/mime.map" );
    
            inLen = 0;
            while(( n = is.read( in, inLen, IN_SIZE - inLen )) != -1 ) {
                inLen += n;
            }
            if( inLen < 100 || inLen == IN_SIZE ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.2K bytes
    - Viewed (0)
  2. 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"));
                        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
Back to top