public class FileDescription extends Object
Properties of file to be signed
Constructor and Description |
---|
FileDescription(String guid)
Create File Description object with specified file id - file name or remote resource name
|
Modifier and Type | Method and Description |
---|---|
String |
getBaseName()
File name without extension
|
Date |
getCreated()
Date of created
|
com.aspose.ms.System.DateTime |
getCreatedInternal() |
boolean |
getExists()
Returns if specified Guid file exists.
|
String |
getExtension()
File extension
|
int |
getFileType()
File Location Type - Undefined, Local, Network
|
String |
getGUID()
Unique identifier for file - absolute or relative path, resource or URL
|
Date |
getLastModified()
Date of last modified
|
com.aspose.ms.System.DateTime |
getLastModifiedInternal() |
String |
getName()
Name of file
|
long |
getSize()
Size of file
|
void |
setCreated(Date value)
Date of created
|
void |
setFileType(int value)
File Location Type - Undefined, Local, Network
|
void |
setGUID(String value)
Unique identifier for file - absolute or relative path, resource or URL
|
void |
setLastModified(Date value)
Date of last modified
|
void |
setName(String value)
Name of file
|
void |
setSize(long value)
Size of file
|
static FileDescription |
to_FileDescription(String guid)
Implicit conversion from string to FileDescription
|
String |
toString()
Overrides ToString method
|
public FileDescription(String guid)
Create File Description object with specified file id - file name or remote resource name
guid
- Unique file or resource identifier. Short file name for Local Pathpublic String getGUID()
Unique identifier for file - absolute or relative path, resource or URL
public void setGUID(String value)
Unique identifier for file - absolute or relative path, resource or URL
public String getName()
Name of file
public void setName(String value)
Name of file
public long getSize()
Size of file
public void setSize(long value)
Size of file
public Date getLastModified()
Date of last modified
public com.aspose.ms.System.DateTime getLastModifiedInternal()
public void setLastModified(Date value)
Date of last modified
public Date getCreated()
Date of created
public com.aspose.ms.System.DateTime getCreatedInternal()
public void setCreated(Date value)
Date of created
public int getFileType()
File Location Type - Undefined, Local, Network
public void setFileType(int value)
File Location Type - Undefined, Local, Network
public boolean getExists()
Returns if specified Guid file exists.
public String getBaseName()
File name without extension
public String getExtension()
File extension
public static FileDescription to_FileDescription(String guid)
Implicit conversion from string to FileDescription
guid
- Copyright © 2017. All rights reserved.