Skip to content
Advertisement

Tag: filenames

Azure Blob Storage Java SDK 12 extract file name from blob name

let’s say I have blob structure like this: dir0 ├── dir1 │ ├── file11 │ └── file12 ├── dir2 └── dir3 After listing the dir1 that contains two files file11, file12 with listBlobsByHierarchy(“dir0/dir1/”) method I’m getting two blobs with blobName property set to dir0/dir1/file11 and dir0/dir1/file12, so <virtual_path>/<file_name>. That’s OK, but in some point I need to get the <file_name>

Advertisement