| Modifier and Type | Method and Description |
|---|---|
Optional<byte[]> |
getContent()
Get the file content for this zip entry.
|
String |
getFileName()
Get the file name or the folder name corresponding to this zip entry.
|
Optional<String> |
getFolderName(int index)
Get the folder name corresponding to an index.
|
String |
getName()
Get the full name of the zip entry
|
public String getName()
public Optional<String> getFolderName(int index)
The index parameter is the index of the folder name to return.
The the root folder in the directory hierarchy has index 0.
If the zip entry is a file, will return Optional#empty() for the index value corresponding to the file name.
index - the index of the folderpublic String getFileName()
public Optional<byte[]> getContent()
Copyright © 2017–2018 Alfresco. All rights reserved.