Package org.zefer.pd4ml
Class PD4Util
- java.lang.Object
-
- org.zefer.pd4ml.PD4Util
-
public class PD4Util extends Object
-
-
Constructor Summary
Constructors Constructor Description PD4Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgenerateFontPropertiesFile(String fontsPath, BufferedOutputStream bos, boolean addFontDirReference)scan font directory, generate pd4fonts.properties and output it to the given OutputStream.static voidgenerateFontPropertiesFile(String fontsPath, String fontConfigFileLocation)scan font directory and generate pd4fonts.properties
-
-
-
Method Detail
-
generateFontPropertiesFile
public static void generateFontPropertiesFile(String fontsPath, String fontConfigFileLocation) throws IOException
scan font directory and generate pd4fonts.properties- Parameters:
fontsPath- fonts directory pathfontConfigFileLocation- a target directory to store pd4fonts.properties. If null, the file is stored in fontsPath.- Throws:
IOException
-
generateFontPropertiesFile
public static void generateFontPropertiesFile(String fontsPath, BufferedOutputStream bos, boolean addFontDirReference) throws IOException
scan font directory, generate pd4fonts.properties and output it to the given OutputStream.- Parameters:
fontsPath- font directory pathbos- pd4fonts.properties data output stream- Throws:
IOException
-
-