com.mchange.v2.ssim.AbstractImageSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ssim Show documentation
Show all versions of ssim Show documentation
a library for on-the-fly rescaling & caching of images on a web server
The newest version!
/*
* Distributed as part of ssim v.0.6.0
*
* Copyright (C) 2005 Machinery For Change, Inc.
*
* Author: Steve Waldman
*
* This package is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2, as
* published by the Free Software Foundation.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file LICENSE. If not, write to the
* Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307, USA.
*/
package com.mchange.v2.ssim;
abstract class AbstractImageSpec implements ImageSpec
{
String mimeType;
long timestamp;
int width;
int height;
AbstractImageSpec(String mimeType, long timestamp, int width, int height)
{
this.mimeType = mimeType;
this.timestamp = timestamp;
this.width = width;
this.height = height;
}
AbstractImageSpec()
{}
public String getMimeType()
{ return mimeType;}
public long getTimestamp()
{ return timestamp; }
public int getWidth()
{ return width; }
public int getHeight()
{ return height; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy