Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for toFiles (0.07 sec)

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

        public DynamicProperties(final String path) {
            this(path == null ? null : new File(path));
        }
    
        public DynamicProperties(final Path path) {
            this(path == null ? null : path.toFile());
        }
    
        public DynamicProperties(final File file) {
            // check path
            if (file == null) {
                throw new FileAccessException("ECL0108");
            }
    
            this.propertiesFile = file;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

         * @return ルートパッケージの上位となるベースディレクトリ
         */
        protected static File getBaseDir(final URL url, final String baseName) {
            assertArgumentNotNull("url", url);
    
            File file = URLUtil.toFile(url);
            final String[] paths = StringUtil.split(baseName, "/");
            for (final String path : paths) {
                file = file.getParentFile();
            }
            return file;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    Vous pourriez aussi l'utiliser pour générer du code automatiquement, pour les clients qui communiquent avec votre API. Comme par exemple, des applications frontend, mobiles ou IOT.
    
    ## Récapitulatif, étape par étape
    
    ### Étape 1 : import `FastAPI`
    
    ```Python hl_lines="1"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/net/URLUtil.java

        /**
         * 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 {
                final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8");
                return new File(path).getAbsoluteFile();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
                final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/PACTest.java

            byte[] krbToken = negInit.getMechanismToken();
    
    
            Path p = Files.createTempFile("fakeserver", ".keytab");
            try {
                Files.write(p, keyTab);
                KeyTab kt = KeyTab.getInstance(p.toFile());
                KerberosKey[] keys = kt.getKeys(new KerberosPrincipal("cifs/******@****.***FIELD", KerberosPrincipal.KRB_NT_PRINCIPAL));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

       *     names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link
       *     java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
       *     java.nio.file.Path#toFile() toFile()} if needed. To restrict permissions as this method
       *     does, pass {@code
       *     PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwx------"))} to your
       *     call to {@code createTempDirectory}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            fileList = systemHelper.refreshDesignJspFiles();
            assertEquals(1, fileList.size());
            assertEquals("ok", FileUtil.readText(fileList.get(0).toFile()));
        }
    
        public void test_updateSystemProperties() {
            final SystemHelper helper = new SystemHelper();
            final AtomicReference<String> appValue = new AtomicReference<>(StringUtil.EMPTY);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. docs/de/docs/alternatives.md

    Kurz bevor ich mich entschied, **FastAPI** zu erstellen, fand ich den **APIStar**-Server. Er hatte fast alles, was ich suchte, und ein tolles Design.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       *     names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link
       *     java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
       *     java.nio.file.Path#toFile() toFile()} if needed. To restrict permissions as this method
       *     does, pass {@code
       *     PosixFilePermissions.asFileAttribute(PosixFilePermissions.fromString("rwx------"))} to your
       *     call to {@code createTempDirectory}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top