Lines Matching refs:defaultValue

555      * @param defaultValue the String to return if the tag's value does not
557 * @return the tag's value as a String, or the defaultValue.
559 public String getValueAsString(String defaultValue) {
562 return defaultValue;
586 * @param defaultValue the byte to return if tag's value does not exist or
588 * @return the tag's value as a byte, or the defaultValue.
590 public byte getValueAsByte(byte defaultValue) {
593 return defaultValue;
617 * @param defaultValue the Rational to return if tag's value does not exist
619 * @return the tag's value as a Rational, or the defaultValue.
621 public Rational getValueAsRational(Rational defaultValue) {
624 return defaultValue;
634 * @param defaultValue the numerator of the Rational to return if tag's
637 * @return the tag's value as a Rational, or the defaultValue.
639 public Rational getValueAsRational(long defaultValue) {
640 Rational defaultVal = new Rational(defaultValue, 1);
670 * @param defaultValue the int to return if tag's value does not exist or
672 * @return the tag's value as a int, or the defaultValue.
674 public int getValueAsInt(int defaultValue) {
677 return defaultValue;
701 * @param defaultValue the long to return if tag's value does not exist or
703 * @return the tag's value as a long, or the defaultValue.
705 public long getValueAsLong(long defaultValue) {
708 return defaultValue;
723 * @param defaultValue value to return if there is no value or value is a
725 * @return the tag's value as a long, or defaultValue if no representation
728 public long forceGetValueAsLong(long defaultValue) {
741 return defaultValue;