The OSS Java SDK supports a variety of operations for files (objects), tailored to your business needs:
-
Uploading files: Offers multiple methods, including simple, append, resumable, and multipart uploads to accommodate various scenarios. For large files or in cases of unstable network connections, resumable and multipart uploads are recommended to ensure data integrity. The SDK also features an upload progress bar chart for real-time monitoring of the upload process.
-
Downloading files: Supports various methods such as streaming, saving to a local file, range, resumable, conditional downloads, and using a signed URL. Resumable downloads are particularly useful for large files or unreliable networks, as they can resume from the last breakpoint, enhancing efficiency. A download progress bar chart is also provided for real-time tracking of the download progress.
-
Managing files: Enables a range of management tasks, such as changing storage class, setting metadata, renaming, deleting, and tagging for classification. You can also set lifecycle rules to automatically purge expired content, allowing for flexible management.
-
Managing folders: Organize files into a directory hierarchy using a forward slash (/) to facilitate group management.
-
Data indexing: The SDK provides robust data indexing capabilities, enabling efficient search across large volumes of data stored in OSS. By establishing an effective index policy, you can swiftly locate necessary files within petabyte-scale datasets, greatly enhancing search efficiency.
-
LiveChannel management: Utilize the Java SDK for common LiveChannel tasks, such as creation, listing, and deletion.