java/copy-image-resizer/src/cz/frantovo/copyImageResizer/RecursiveOptions.java
changeset 6 b329573c76d7
parent 5 5019e3e93a4e
child 7 8e9983260624
     1.1 --- a/java/copy-image-resizer/src/cz/frantovo/copyImageResizer/RecursiveOptions.java	Sun Nov 16 23:47:28 2014 +0100
     1.2 +++ b/java/copy-image-resizer/src/cz/frantovo/copyImageResizer/RecursiveOptions.java	Mon Nov 17 01:17:02 2014 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  import java.util.Collection;
     1.5  
     1.6  /**
     1.7 - * 
     1.8 + *
     1.9   * @author Ing. František Kučera (frantovo.cz)
    1.10   */
    1.11  public class RecursiveOptions {
    1.12 @@ -40,7 +40,7 @@
    1.13  	 */
    1.14  	private final Collection<SizeSpecification> sizes = new ArrayList<>();
    1.15  
    1.16 -	public File getSourceDir() {
    1.17 +	public File getInput() {
    1.18  		return input;
    1.19  	}
    1.20  
    1.21 @@ -48,7 +48,7 @@
    1.22  		this.input = input;
    1.23  	}
    1.24  
    1.25 -	public File getDestinationDir() {
    1.26 +	public File getOutput() {
    1.27  		return output;
    1.28  	}
    1.29  
    1.30 @@ -87,5 +87,10 @@
    1.31  		public String getDirectory() {
    1.32  			return directory;
    1.33  		}
    1.34 +
    1.35 +		@Override
    1.36 +		public String toString() {
    1.37 +			return width + "×" + height + " → " + directory;
    1.38 +		}
    1.39  	}
    1.40  }