From 75188933889846e7dd3196754bfe03e27576536a Mon Sep 17 00:00:00 2001 From: Bruk Ori Date: Thu, 25 Jul 2024 12:24:05 +0300 Subject: [PATCH] [#1] update README.md Signed-off-by: Ori Bruk --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bd5444b..fe3c04f 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ neo-go wallet export -w -d ## Example usage -### Container +### Container operations ```java import info.frostfs.sdk.dto.container.Container; @@ -50,7 +50,7 @@ public class ContainerExample { } ``` -### Object +### Object operations ```java import info.frostfs.sdk.enums.ObjectType; @@ -58,6 +58,7 @@ import info.frostfs.sdk.dto.container.ContainerId; import info.frostfs.sdk.dto.object.ObjectAttribute; import info.frostfs.sdk.dto.object.ObjectFilter; import info.frostfs.sdk.dto.object.ObjectHeader; +import info.frostfs.sdk.dto.object.ObjectId; import info.frostfs.sdk.jdo.PutObjectParameters; import info.frostfs.sdk.FrostFSClient; @@ -71,7 +72,7 @@ public class ObjectExample { FrostFSClient frostFSClient = new FrostFSClient(clientSettings); // Put object - info.frostfs.sdk.dto.object.ObjectId objectId; + ObjectId objectId; try (FileInputStream fis = new FileInputStream("cat.jpg")) { var cat = new ObjectHeader( containerId, ObjectType.REGULAR, new ObjectAttribute[]{new ObjectAttribute("Filename", "cat.jpg")}