public class StorageTypedElement extends Object implements ITypedElement, IEncodedStreamContentAccessor, IAdaptable
FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE| Constructor and Description |
|---|
StorageTypedElement(IStorage storage,
String fullPath)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdapter(Class adapter) |
String |
getCharset() |
InputStream |
getContents() |
Image |
getImage() |
String |
getName() |
String |
getType() |
public Object getAdapter(Class adapter)
getAdapter in interface IAdaptablepublic String getCharset() throws CoreException
getCharset in interface IEncodedStreamContentAccessorCoreExceptionpublic InputStream getContents() throws CoreException
getContents in interface IStreamContentAccessorCoreExceptionpublic Image getImage()
getImage in interface ITypedElementpublic String getName()
getName in interface ITypedElementpublic String getType()
getType in interface ITypedElement
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.