public final class ShareFileItem extends Object
Constructor and Description |
---|
ShareFileItem(String name,
boolean isDirectory,
Long fileSize)
Creates an instance of file or directory reference information about a specific Share.
|
Modifier and Type | Method and Description |
---|---|
Long |
getFileSize() |
String |
getName() |
boolean |
isDirectory() |
public ShareFileItem(String name, boolean isDirectory, Long fileSize)
name
- Name of the file or the directory.isDirectory
- A boolean set to true if the reference is a directory, false if the reference is a file.fileSize
- Size of a file. Pass null
if the reference is a directory.public String getName()
public boolean isDirectory()
public Long getFileSize()
null
if the reference is a directory.Copyright © 2020 Microsoft Corporation. All rights reserved.