org.eclipse.mylar.internal.tasks.ui.editors
Class RepositoryAttachmentEditorInput.RepositoryAttachmentStorage

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.mylar.internal.tasks.ui.editors.RepositoryAttachmentEditorInput.RepositoryAttachmentStorage
All Implemented Interfaces:
org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable
Enclosing class:
RepositoryAttachmentEditorInput

 class RepositoryAttachmentEditorInput.RepositoryAttachmentStorage
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.core.resources.IStorage


Field Summary
private static java.lang.String ATTACHMENT_DEFAULT_NAME
           
private static java.lang.String ATTR_FILENAME
           
private static java.lang.String CTYPE_HTML
           
private static java.lang.String CTYPE_OCTET_STREAM
           
private static java.lang.String CTYPE_TEXT
           
private static java.lang.String CTYPE_ZIP
           
 
Constructor Summary
RepositoryAttachmentEditorInput.RepositoryAttachmentStorage()
           
 
Method Summary
 java.io.InputStream getContents()
           
 org.eclipse.core.runtime.IPath getFullPath()
           
 java.lang.String getName()
           
 boolean isReadOnly()
           
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

ATTR_FILENAME

private static final java.lang.String ATTR_FILENAME
See Also:
Constant Field Values

ATTACHMENT_DEFAULT_NAME

private static final java.lang.String ATTACHMENT_DEFAULT_NAME
See Also:
Constant Field Values

CTYPE_ZIP

private static final java.lang.String CTYPE_ZIP
See Also:
Constant Field Values

CTYPE_OCTET_STREAM

private static final java.lang.String CTYPE_OCTET_STREAM
See Also:
Constant Field Values

CTYPE_TEXT

private static final java.lang.String CTYPE_TEXT
See Also:
Constant Field Values

CTYPE_HTML

private static final java.lang.String CTYPE_HTML
See Also:
Constant Field Values
Constructor Detail

RepositoryAttachmentEditorInput.RepositoryAttachmentStorage

RepositoryAttachmentEditorInput.RepositoryAttachmentStorage()
Method Detail

getContents

public java.io.InputStream getContents()
                                throws org.eclipse.core.runtime.CoreException
Specified by:
getContents in interface org.eclipse.core.resources.IStorage
Throws:
org.eclipse.core.runtime.CoreException

getFullPath

public org.eclipse.core.runtime.IPath getFullPath()
Specified by:
getFullPath in interface org.eclipse.core.resources.IStorage

getName

public java.lang.String getName()
Specified by:
getName in interface org.eclipse.core.resources.IStorage

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface org.eclipse.core.resources.IStorage