- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for StorageItem (0.27 seconds)
-
src/main/java/org/codelibs/fess/storage/StorageItem.java
/** * Represents a storage item (file or directory). */ public class StorageItem { private final String name; private final String path; private final boolean directory; private final long size; private final ZonedDateTime lastModified; private final String encodedId; /** * Creates a new StorageItem instance. * * @param name the name of the item
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
final StorageItem item = new StorageItem("", "/path/", false, 100L, null, ""); assertEquals("", item.getName()); assertEquals("/path/", item.getPath()); assertEquals("", item.getEncodedId()); } public void test_largeFileSize() { final long largeSize = 10737418240L; // 10 GBCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
throw new StorageException("Failed to delete " + objectName, e); } } @Override public List<StorageItem> listObjects(final String prefix, final int maxItems) { final List<StorageItem> items = new ArrayList<>(); final List<StorageItem> fileItems = new ArrayList<>(); try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
} catch (final Exception e) { throw new StorageException("Failed to delete " + objectName, e); } } @Override public List<StorageItem> listObjects(final String prefix, final int maxItems) { final List<StorageItem> items = new ArrayList<>(); try { final ListObjectsV2Request.Builder requestBuilder =
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/StorageClient.java
* * @param prefix the path prefix to list objects under (null or empty for root) * @param maxItems maximum number of items to return * @return list of storage items */ List<StorageItem> listObjects(String prefix, int maxItems); /** * Gets tags/metadata for an object. * * @param objectName the name/path of the object * @return map of tag key-value pairs */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
// Ensure bucket exists on first access client.ensureBucketExists(); final List<StorageItem> items = client.listObjects(prefix, fessConfig.getStorageMaxItemsInPageAsInteger()); for (final StorageItem item : items) { final Map<String, Object> map = new HashMap<>(); map.put("id", item.getEncodedId());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0)