com.teamdev.jxcapture.video.win.directshow.filters
Class FileFilterWrapper

java.lang.Object
  extended by com.teamdev.jxcapture.video.win.directshow.FilterWrapper
      extended by com.teamdev.jxcapture.video.win.directshow.filters.FileFilterWrapper
Direct Known Subclasses:
ScreenCaptureFilter

public class FileFilterWrapper
extends FilterWrapper

Represents the filter wrapper for IBaseFilter object which can be loaded directly from the specified library.


Constructor Summary
FileFilterWrapper(java.lang.String library, java.lang.String clsid, java.lang.String name)
          Creates wrapper for specified filter.
 
Method Summary
 FilterWrapper clone()
           
protected  com.teamdev.jxdesktop.win32.com.IClassFactory createClassFactory()
           
protected  IBaseFilter createFilter()
          Factory method that creates IBaseFilter instance using class factory from a library.
protected  com.teamdev.jxdesktop.win32.com.IClassFactory getClassFactory()
           
 java.lang.String getLibrary()
          Returns the name of the library in which this filter resides.
 void release()
          Releases this filter.
 java.lang.String toString()
           
 
Methods inherited from class com.teamdev.jxcapture.video.win.directshow.FilterWrapper
connect2, connect2, connectFilterByPin, connectFilters, equals, getAllPins, getClsid, getFilter, getFilterGraph, getInputPin, getInputPins, getName, getOutputPin, getOutputPins, hashCode, setFilterGraph
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileFilterWrapper

public FileFilterWrapper(java.lang.String library,
                         java.lang.String clsid,
                         java.lang.String name)
Creates wrapper for specified filter.

Parameters:
library - library file
clsid - CLSID of the filter
name - name of the filter
Method Detail

getLibrary

public java.lang.String getLibrary()
Returns the name of the library in which this filter resides.

Returns:
the library name

getClassFactory

protected com.teamdev.jxdesktop.win32.com.IClassFactory getClassFactory()

createClassFactory

protected com.teamdev.jxdesktop.win32.com.IClassFactory createClassFactory()

createFilter

protected IBaseFilter createFilter()
Factory method that creates IBaseFilter instance using class factory from a library.

Overrides:
createFilter in class FilterWrapper
Returns:
IBaseFilter object

release

public void release()
Releases this filter.

Overrides:
release in class FilterWrapper

toString

public java.lang.String toString()
Overrides:
toString in class FilterWrapper

clone

public FilterWrapper clone()
Overrides:
clone in class FilterWrapper