/** * Return the best {@link PropertiesFormat} from the <code>Accept</code> * header, where "best" is measured by the <code>q</code> parameter. * * @return The best {@link PropertiesFormat} -or- <code>null</code> if no * {@link PropertiesFormat} was requested. */ public PropertiesFormat getPropertiesFormat() { return getPropertiesFormat(null/* fallback */); }
/** * Return the best {@link PropertiesFormat} from the <code>Accept</code> * header, where "best" is measured by the <code>q</code> parameter. * * @return The best {@link PropertiesFormat} -or- <code>null</code> if no * {@link PropertiesFormat} was requested. */ public PropertiesFormat getPropertiesFormat() { return getPropertiesFormat(null/* fallback */); }
PropertiesFormat format = util.getPropertiesFormat();
PropertiesFormat format = util.getPropertiesFormat();