Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,192 for file (0.12 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                }
                properties = new Properties();
                store();
            } else if (!this.propertiesFile.isFile()) {
                throw new FileAccessException("ECL0111", new Object[] { file.getAbsolutePath() });
            }
            load();
        }
    
        public synchronized void reload(final String path) {
            final File file = new File(path);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/SynonymService.java

                if (synonymItem.getId() == 0) {
                    file.insert(synonymItem);
                } else {
                    file.update(synonymItem);
                }
            });
        }
    
        public void delete(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                file.delete(synonymItem);
            });
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         *            プロパティセット。{@literal null}であってはいけません
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @param encoding
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         */
        public static void load(final Properties props, final File file, final String encoding) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PythonJob.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("WEB-INF");
            buf.append(File.separator);
            buf.append("env");
            buf.append(File.separator);
            buf.append(getExecuteType());
            buf.append(File.separator);
            buf.append("resources");
            buf.append(File.separator);
            buf.append(filename.replaceAll("\\.\\.+", ""));
            return buf.toString();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return protwordsService.getProtwordsFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    })).orElseGet(() -> {
                        throwValidationErrorApi(messages -> messages.addErrorsFailedToDownloadProtwordsFile(GLOBAL));
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.IOException;
    import java.nio.file.FileVisitOption;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.StandardCopyOption;
    import java.util.Comparator;
    import java.util.stream.Stream;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                systemProperties.reload(options.propertiesPath);
            } else {
                try {
                    final File propFile = ComponentUtil.getSystemHelper().createTempFile("thumbnail_", ".properties");
                    if (propFile.delete() && logger.isDebugEnabled()) {
                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/EmptyGenerator.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.thumbnail.impl;
    
    import java.io.File;
    
    public class EmptyGenerator extends BaseThumbnailGenerator {
    
        @Override
        public boolean generate(final String thumbnailId, final File outputFile) {
            return false;
        }
    
        @Override
        public void destroy() {
            // nothing
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 939 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/URLUtil.java

                return canonicalProtocol;
            }
            return protocol;
        }
    
        /**
         * URLが示すJarファイルの{@link File}オブジェクトを返します。
         *
         * @param fileUrl
         *            JarファイルのURL。{@literal null}であってはいけません
         * @return Jarファイルの{@link File}
         */
        public static File toFile(final URL fileUrl) {
            assertArgumentNotNull("fileUrl", fileUrl);
    
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/FessActionDefTest.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top