net.sf.freecol.common.resources
Class VideoResource

java.lang.Object
  extended by net.sf.freecol.common.resources.Resource
      extended by net.sf.freecol.common.resources.VideoResource

public class VideoResource
extends Resource

A Resource wrapping a Video.

See Also:
Resource, Video

Field Summary
private static java.util.logging.Logger logger
           
private  Video video
           
 
Constructor Summary
VideoResource(java.net.URI resourceLocator)
          Do not use directly.
 
Method Summary
 Video getVideo()
          Gets the Video represented by this resource.
 
Methods inherited from class net.sf.freecol.common.resources.Resource
getResourceLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final java.util.logging.Logger logger

video

private final Video video
Constructor Detail

VideoResource

VideoResource(java.net.URI resourceLocator)
        throws java.lang.Exception
Do not use directly.

Parameters:
resourceLocator - The URI used when loading this resource.
Throws:
java.lang.Exception
See Also:
ResourceFactory.createResource(URI)
Method Detail

getVideo

public Video getVideo()
Gets the Video represented by this resource.

Returns:
The Video in it's original size.