imagingbook.pdf.Utils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imagingbook-pdf Show documentation
Show all versions of imagingbook-pdf Show documentation
Library packages for PDF generation.
This code is part of the imagingbook software suite accompanying the
image processing textbooks by W. Burger and M.J. Burge (Springer 2006-2022).
/*******************************************************************************
* This software is provided as a supplement to the authors' textbooks on digital
* image processing published by Springer-Verlag in various languages and editions.
* Permission to use and distribute this software is granted under the BSD 2-Clause
* "Simplified" License (see http://opensource.org/licenses/BSD-2-Clause).
* Copyright (c) 2006-2022 Wilhelm Burger, Mark J. Burge.
* All rights reserved. Visit http://www.imagingbook.com for additional details.
*******************************************************************************/
package imagingbook.pdf;
public abstract class Utils {
public static boolean verifyPdfLib() {
try {
if (Class.forName("com.lowagie.text.Document") != null) {
return true;
}
} catch (ClassNotFoundException e) { }
return false;
}
}