public static String getHeader(PrintStyles style) { if (style == PrintStyles.XML) return getXmlHeader(); if (style == PrintStyles.HTML) return getHtmlHeader(); if (style == PrintStyles.TXT) return getTextHeader(); return ""; }
public static String getHeader(PrintStyles style) { if (style == PrintStyles.XML) return getXmlHeader(); if (style == PrintStyles.HTML) return getHtmlHeader(); if (style == PrintStyles.TXT) return getTextHeader(); return ""; }