Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for bytes (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                }
                return statObject;
            }
    
            /**
             * Gets the content length of the storage object.
             *
             * @return The content length in bytes, or -1 if unavailable
             */
            @Override
            public long getContentLengthLong() {
                if (minioClient == null) {
                    return -1;
                }
                try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/resources/org/codelibs/fess/crawler/mime/tika-mimetypes.xml

        <_comment>PRONOM fmt-473</_comment>
        <_comment>First byte and 53rd byte are the same -- the length of the name.</_comment>
        <_comment>Based on TIKA-2469, we've added a heuristic/wild guess that the first 10 chars</_comment>
        <_comment>after the length byte should be \x00 or a non-control character.</_comment>
        <magic priority="80">
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Mar 13 08:18:01 UTC 2025
    - 320.1K bytes
    - Viewed (2)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java

        /**
         * Retrieves the data as a byte array.
         *
         * @return a byte array containing the data.
         */
        byte[] getData();
    
        /**
         * Retrieves the data as a String.
         *
         * @return the data in String format.
         */
        String getDataAsString();
    
        /**
         * Sets the data for this AccessResultData instance.
         *
         * @param data the byte array containing the data to be set
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.2K bytes
    - Viewed (10)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java

        protected IDTYPE id;
    
        /** The name of the transformer associated with this access result data. */
        protected String transformerName;
    
        /** The data as a byte array. */
        protected byte[] data;
    
        /** The encoding used for the access result data. */
        protected String encoding;
    
        /**
         * Constructs a new AccessResultDataImpl instance.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java

            }
        }
    
        public void test_setSerializer() {
            // ## Arrange ##
            final ResultData resultData = new ResultData();
            final Function<Object, byte[]> serializer = new Function<Object, byte[]>() {
                @Override
                public byte[] apply(Object t) {
                    return t.toString().getBytes();
                }
            };
    
            // ## Act ##
            resultData.setSerializer(serializer);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                                throw new MaxLengthExceededException("The content length (" + responseData.getContentLength()
                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
                    } else {
                        // Forbidden
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        /**
         * Set the serializer.
         * @param serializer the serializer function to convert raw data to byte array
         */
        public void setSerializer(final Function<Object, byte[]> serializer) {
            this.serializer = serializer;
        }
    
        /**
         * Get the data.
         * @return data
         */
        public byte[] getData() {
            if (data == null) {
                if (serializer == null || rawData == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

         * @param bis The buffered input stream.
         * @return The detected encoding.
         */
        protected String getEncoding(final BufferedInputStream bis) {
            final byte[] b = new byte[preloadSizeForCharset];
            try {
                bis.mark(preloadSizeForCharset);
                @SuppressWarnings("resource")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

        }
    
        public void test_name() {
            assertEquals("htmlTransformer", htmlTransformer.getName());
        }
    
        public void test_transform() {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/");
            responseData.setResponseBody(data);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                        if (logger.isInfoEnabled()) {
                            final byte[] bs = outStream.toByteArray();
                            if (bs.length != 0) {
                                logger.info(new String(bs, outputEncoding));
                            }
                        }
                        if (logger.isWarnEnabled()) {
                            final byte[] bs = errStream.toByteArray();
                            if (bs.length != 0) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
Back to top