Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 237 for getBytes (0.1 sec)

  1. src/main/java/jcifs/config/BaseConfiguration.java

                disallow.add(st.nextToken().trim());
            }
            this.disallowCompound = disallow;
        }
    
    
        protected void initDefaults () throws CIFSException {
    
            try {
                "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            }
            catch ( UnsupportedEncodingException uee ) {
                throw new CIFSException(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                                try (InputStream contentStream = new BufferedInputStream(new SmbFileInputStream(file))) {
                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                                } catch (final Exception e) {
                                    logger.warn("I/O Exception.", e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            Encdec.enc_doublebe(v, this.tmp, 0);
            write(this.tmp, 0, 8);
        }
    
    
        @Override
        public final void writeBytes ( String s ) throws SmbException {
            byte[] b = s.getBytes();
            write(b, 0, b.length);
        }
    
    
        @Override
        public final void writeChars ( String s ) throws SmbException {
            int clen = s.length();
            int blen = 2 * clen;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private static Manifest manifest(String content) throws IOException {
        InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII));
        Manifest manifest = new Manifest();
        manifest.read(in);
        return manifest;
      }
    
      private static File fullpath(String path) {
        return new File(new File(path).toURI());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                            try (InputStream contentStream = new BufferedInputStream(new FileInputStream(tempFile))) {
                                responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                            }
                        } else {
                            outputFile = File.createTempFile("crawler-FtpClient-", ".out");
                            CopyUtil.copy(tempFile, outputFile);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            refresh();
        }
    
        private String getId(final String sessionId, final String url) {
            final String id = sessionId + ID_SEPARATOR + new String(Base64.getUrlEncoder().withoutPadding().encode(url.getBytes(UTF_8)), UTF_8);
            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                                    groupList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8)));
                                } else if (lowerEntryDn.indexOf(lowerRoleDn) != -1) {
                                    roleList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8)));
                                }
                            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private static Manifest manifest(String content) throws IOException {
        InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII));
        Manifest manifest = new Manifest();
        manifest.read(in);
        return manifest;
      }
    
      private static File fullpath(String path) {
        return new File(new File(path).toURI());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                    File temp = File.createTempFile("maven-artifact", null);
                    temp.deleteOnExit();
                    byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8);
                    Files.write(
                            Paths.get(temp.getAbsolutePath()), bytes, StandardOpenOption.APPEND, StandardOpenOption.CREATE);
    
                    temporaryFiles.add(temp);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        }
    
        public void test_getTika_xml_broken() throws UnsupportedEncodingException {
            final InputStream in = new ByteArrayInputStream("<?xml encoding=\"UTF-8\"/><hoge>ใƒ†ใ‚นใƒˆ<br></hoge>".getBytes(Constants.UTF_8));
            final ExtractData extractData = tikaExtractor.getText(in, null);
            final String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
Back to top