com.cyclops.albumbuilder
Class SourceResource

java.lang.Object
  extended bycom.cyclops.albumbuilder.SourceResource

public class SourceResource
extends Object

Add description for this class HERE! 惩前毖后,治病救人

Since:
2003-5-23 15:38:38
Author:
joel guo

Constructor Summary
SourceResource(String root, String path)
          Constructor method for class SourceResource
 
Method Summary
 String getPath()
          Get full path of this resource
 String getRelativePath()
          Method getRelativePath()
 String getRootDirectory()
          Method getRootDirectory()
 Dimension getSize()
          Method getSize() in class SourceResource
 File getSourceFile()
          Method getSourceFile()
 void setSize(Dimension dimension)
          Method setSize() in class SourceResource
 String toString()
          Override method toString() of super class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceResource

public SourceResource(String root,
                      String path)
Constructor method for class SourceResource

Parameters:
root - 根目录
path - 相对根目录的路径
Method Detail

getPath

public String getPath()
Get full path of this resource

Returns:
Full path of resource

getRelativePath

public String getRelativePath()
Method getRelativePath()

Returns:
Relative path of this source image

getRootDirectory

public String getRootDirectory()
Method getRootDirectory()

Returns:
Root directory of this source image

getSize

public Dimension getSize()
Method getSize() in class SourceResource

Returns:
Original size of this image

getSourceFile

public File getSourceFile()
Method getSourceFile()

Returns:
File object of this source image

setSize

public void setSize(Dimension dimension)
Method setSize() in class SourceResource

Parameters:
dimension - Original size of this image

toString

public String toString()
Override method toString() of super class

See Also:
Object.toString()


Copyright © 2003 Cyclops Group. All Rights Reserved.