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 IAdaptable
public String getCharset() throws CoreException
getCharset
in interface IEncodedStreamContentAccessor
CoreException
public InputStream getContents() throws CoreException
getContents
in interface IStreamContentAccessor
CoreException
public Image getImage()
getImage
in interface ITypedElement
public String getName()
getName
in interface ITypedElement
public String getType()
getType
in interface ITypedElement
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.