Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fromBinaryToObject (0.18 sec)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * @return シリアライズして復元したオブジェクト
         */
        public static Object serialize(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            final byte[] binary = fromObjectToBinary(obj);
            return fromBinaryToObject(binary);
        }
    
        /**
         * オブジェクトをbyteの配列に変換します。
         *
         * @param obj
         *            シリアライズするオブジェクト。{@literal null}であってはいけません
         * @return オブジェクトのbyte配列
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

         */
        public void testObjectAndBinary() throws Exception {
            final String o = "hoge";
            final byte[] binary = SerializeUtil.fromObjectToBinary(o);
            assertEquals(o, SerializeUtil.fromBinaryToObject(binary));
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final byte[] data = resultData.getData();
                if (data != null) {
                    try {
                        return (Map<String, Object>) SerializeUtil.fromBinaryToObject(data);
                    } catch (final Exception e) {
                        throw new CrawlerSystemException("Could not create an instance from bytes.", e);
                    }
                }
                return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
                    throw new CrawlerSystemException("Could not create an instanced from bytes.", e);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                            try {
                                @SuppressWarnings("unchecked")
                                final Map<String, Object> responseDataMap = (Map<String, Object>) SerializeUtil.fromBinaryToObject(data);
                                dataMap.putAll(responseDataMap);
                            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
                    throw new CrawlerSystemException("Could not create an instanced from bytes.", e);
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top