Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,550 for file (0.03 seconds)

  1. android/guava/src/com/google/common/io/Files.java

       *
       * @since 14.0
       */
      public static ByteSource asByteSource(File file) {
        return new FileByteSource(file);
      }
    
      private static final class FileByteSource extends
          ByteSource
      {
    
        private final File file;
    
        private FileByteSource(File file) {
          this.file = checkNotNull(file);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/request-files.md

    ///
    
    ## Import `File` { #import-file }
    
    Import `File` and `UploadFile` from `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[3] *}
    
    ## Define `File` Parameters { #define-file-parameters }
    
    Create file parameters the same way you would for `Body` or `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py310.py hl[9] *}
    
    /// info
    
    `File` is a class that inherits directly from `Form`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/request-forms-and-files.md

    # 폼 및 파일 요청 { #request-forms-and-files }
    
    `File` 과 `Form` 을 사용하여 파일과 폼 필드를 동시에 정의할 수 있습니다.
    
    /// info
    
    업로드된 파일 및/또는 폼 데이터를 받으려면 먼저 [`python-multipart`](https://github.com/Kludex/python-multipart)를 설치해야 합니다.
    
    [가상 환경](../virtual-environments.md)을 생성하고, 활성화한 다음 설치해야 합니다. 예:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File` 및 `Form` 임포트 { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/request-forms-and-files.md

    ## Import `File` and `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    ## Define `File` and `Form` parameters { #define-file-and-form-parameters }
    
    Create file and form parameters the same way you would for `Body` or `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件 { #request-forms-and-files }
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    /// info | 信息
    
    接收上传的文件和/或表单数据,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    请先创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 导入 `File` 与 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    你可以使用 `File` 與 `Form` 同時定義檔案與表單欄位。
    
    /// info
    
    要接收上傳的檔案與/或表單資料,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個 [虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `File` 與 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/request-forms-and-files.md

    # リクエストフォームとファイル { #request-forms-and-files }
    
    `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。
    
    /// info | 情報
    
    アップロードされたファイルやフォームデータを受信するには、まず[`python-multipart`](https://github.com/Kludex/python-multipart)をインストールします。
    
    [仮想環境](../virtual-environments.md)を作成し、それを有効化してから、例えば次のようにインストールしてください:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## `File`と`Form`のインポート { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = data.clone();
            this.file = null;
        }
    
        /**
         * Constructs a ContentCache with the given file.
         *
         * @param file the file containing the content
         * @throws IllegalArgumentException if file is null
         */
        public ContentCache(final File file) {
            if (file == null) {
                throw new IllegalArgumentException("file must not be null");
            }
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

                    final File file = super.getFile();
                    if (file != null) {
                        try {
                            Files.deleteIfExists(file.toPath());
                        } catch (final IOException e) {
                            // Log the error but don't throw to avoid masking exceptions from the main operation
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        /**
         * Stores or updates a dictionary file in the ConfigSync storage.
         * This method checks for concurrent modifications by comparing timestamps
         * and uploads the file content to the ConfigSync API.
         *
         * @param dictFile the dictionary file metadata to store
         * @param file the actual file containing the dictionary content
         * @throws DictionaryException if the file was updated by another process,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top