Methods Summary |
---|
public boolean | endOfStream()Must override this class
return false;
|
public javax.media.protocol.ContentDescriptor | getContentDescriptor()
return contentDescriptor;
|
public long | getContentLength()
return contentLength;
|
public java.lang.Object | getControl(java.lang.String controlType)
try {
Class cls = Class.forName(controlType);
Object cs[] = getControls();
for (int i = 0; i < cs.length; i++) {
if (cls.isInstance(cs[i]))
return cs[i];
}
return null;
} catch (Exception e) { // no such controlType or such control
return null;
}
|
public java.lang.Object[] | getControls()
return controls;
|