public class NSFFileAttachment extends NSFBase
Constructor and Description |
---|
NSFFileAttachment(NSFCompositeDataItem parent,
String internalFileName,
String originalFileName) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFree()
This method is called when the final reference to this object is freed.
|
NSFFileItem |
getFileItem() |
String |
getInternalFileName() |
String |
getOriginalFileName() |
NSFCompositeDataItem |
getParent() |
boolean |
isRefValid()
Checks whether the object's inner reference is valid.
|
_checkRefValidity, addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation, toString
public NSFFileAttachment(NSFCompositeDataItem parent, String internalFileName, String originalFileName)
public NSFCompositeDataItem getParent()
getParent
in class NSFBase
NSFCompositeDataItem
public String getInternalFileName()
public String getOriginalFileName()
public NSFFileItem getFileItem() throws DominoException
NSFFileItem
linked by this attachment, or null
if the item does not exist in the noteDominoException
- if there is a problem searching for the fileprotected void doFree()
NSFBase
Implemented classes are expected to release any memory or network resources they have open. They are also expected to write this defensively, allowing the method to be called multiple times on the same object without problem.
public boolean isRefValid()
NSFBase
isRefValid
in class NSFBase
Copyright © 2014–2018. All rights reserved.