public static String getFormatLine(PrintStyles style, String name, boolean read, boolean write, boolean wmp, String ext) { if (style == PrintStyles.XML) { return getXmlFormatLine(name, read, write, wmp, ext); } if (style == PrintStyles.HTML) { return getHtmlFormatLine(name, read, write, ext); } if (style == PrintStyles.TXT) { return getTextFormatLine(name, read, write, wmp, ext); } return ""; }