/** * Find and return the short value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public short get(String name, short defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the char value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public char get(String name, char defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the float value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public float get(String name, float defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the boolean value of a given field named * <code>name</code> in the receiver. If the field has not been assigned * any value yet, the default value <code>defaultValue</code> is returned * instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public boolean get(String name, boolean defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the byte value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public byte get(String name, byte defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the double value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public double get(String name, double defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the int value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public int get(String name, int defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the long value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public long get(String name, long defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the Object value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public Object get(String name, Object defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the byte value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public byte get(String name, byte defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the double value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public double get(String name, double defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the char value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public char get(String name, char defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the double value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public double get(String name, double defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the short value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public short get(String name, short defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the int value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public int get(String name, int defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the long value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public long get(String name, long defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the byte value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public byte get(String name, byte defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the Object value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public Object get(String name, Object defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the short value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public short get(String name, short defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }
/** * Find and return the char value of a given field named <code>name</code> * in the receiver. If the field has not been assigned any value yet, the * default value <code>defaultValue</code> is returned instead. * * @param name * A String, the name of the field to find * @param defaultValue * Return value in case the field has not been assigned to yet. * @return the value of the given field if it has been assigned, or the * default value otherwise * * @throws IOException * If an IO error occurs * @throws IllegalArgumentException * If the corresponding field can not be found. */ @Override public char get(String name, char defaultValue) throws IOException, IllegalArgumentException { return emulatedFields.get(name, defaultValue); }