in src/main/java/org/apache/pdfbox/jbig2/image/Filter.java [55:91]
public static Filter byType(final FilterType type)
{
switch (type)
{
case Bessel:
return new Bessel();
case Blackman:
return new Blackman();
case Box:
return new Box();
case Catrom:
return new Catrom();
case Cubic:
return new Cubic();
case Gaussian:
return new Gaussian();
case Hamming:
return new Hamming();
case Hanning:
return new Hanning();
case Hermite:
return new Hermite();
case Lanczos:
return new Lanczos();
case Mitchell:
return new Mitchell();
case Point:
return new Point();
case Quadratic:
return new Quadratic();
case Sinc:
return new Sinc();
case Triangle:
return new Triangle();
}
throw new IllegalArgumentException("No filter for given type.");
}