private int getFontStyle() { if (type.equals(INPUT_PARTITION_TYPE)) { return inputStream.getFontStyle(); } return outputStream.getFontStyle(); }
/** * Returns the font of the input stream if the type of the partition * is <code>INPUT_PARTITION_TYPE</code>, otherwise it returns the output * stream font * * @return the font of one of the backing streams */ private int getFontStyle() { if (type.equals(INPUT_PARTITION_TYPE)) { return inputStream.getFontStyle(); } return outputStream.getFontStyle(); }