ccs.cpc.impl
Class MimeBinding

java.lang.Object
  extended by ccs.cpc.impl.MimeBinding
All Implemented Interfaces:
java.lang.Comparable

 class MimeBinding
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
MimeBinding(java.lang.String mimeType)
           
 
Method Summary
(package private)  void addViewer(Viewer vv)
           
 int compareTo(java.lang.Object o)
           
(package private) static MimeBinding createFrom(java.io.DataInputStream dis, int marshalver, ViewerRegistry vreg)
           
(package private)  int getIndex(Viewer vv)
           
(package private)  int getNViewers()
           
(package private)  java.lang.String getType()
           
(package private)  Viewer getViewer(int idx)
           
(package private)  Viewer[] getViewers()
           
(package private)  void marshalTo(java.io.DataOutputStream dos)
           
(package private)  void removeViewer(int idx)
           
(package private)  void swap(int base, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimeBinding

MimeBinding(java.lang.String mimeType)
Method Detail

getType

java.lang.String getType()

getViewers

Viewer[] getViewers()

getViewer

Viewer getViewer(int idx)

addViewer

void addViewer(Viewer vv)

removeViewer

void removeViewer(int idx)

getNViewers

int getNViewers()

getIndex

int getIndex(Viewer vv)

swap

void swap(int base,
          int offset)

marshalTo

void marshalTo(java.io.DataOutputStream dos)
         throws java.io.IOException
Throws:
java.io.IOException

createFrom

static MimeBinding createFrom(java.io.DataInputStream dis,
                              int marshalver,
                              ViewerRegistry vreg)
                       throws java.io.IOException
Throws:
java.io.IOException

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable