Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFileSize (0.09 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            }
    
            @Override
            public String getContentType() {
                return fileItem.getContentType();
            }
    
            @Override
            public int getFileSize() {
                return (int) fileItem.getSize();
            }
    
            @Override
            public String getFileName() {
                return getBaseFileName(fileItem.getName());
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                final MinioClient minioClient = createClient(fessConfig);
                final PutObjectArgs args = PutObjectArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName)
                        .stream(in, uploadFile.getFileSize(), -1).contentType("application/octet-stream").build();
                minioClient.putObject(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to upload " + objectName, e);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top