private FontDirFinder determineDirFinder() { final String osName = System.getProperty("os.name"); if (osName.startsWith("Windows")) { return new WindowsFontDirFinder(); } else if (osName.startsWith("Mac")) { return new MacFontDirFinder(); } else if (osName.startsWith("OS/400")) { return new OS400FontDirFinder(); } else { return new UnixFontDirFinder(); } }
windir = getWinDir(osName);
private FontDirFinder determineDirFinder() { final String osName = System.getProperty("os.name"); if (osName.startsWith("Windows")) { return new WindowsFontDirFinder(); } else { if (osName.startsWith("Mac")) { return new MacFontDirFinder(); } else { return new UnixFontDirFinder(); } } }
windir = getWinDir(osName);
private FontDirFinder determineDirFinder() { final String osName = System.getProperty("os.name"); if (osName.startsWith("Windows")) { return new WindowsFontDirFinder(); } else if (osName.startsWith("Mac")) { return new MacFontDirFinder(); } else if (osName.startsWith("OS/400")) { return new OS400FontDirFinder(); } else { return new UnixFontDirFinder(); } }
windir = getWinDir(osName);