org.ckkloverdos.source
Class RcSource

java.lang.Object
  extended by org.ckkloverdos.source.SourceSkeleton
      extended by org.ckkloverdos.source.RcSource
All Implemented Interfaces:
ISource

public class RcSource
extends SourceSkeleton

An implementation of ISource for which the source contents come from a named resource.

Author:
Christos KK Loverdos
See Also:
Class.getResource(String), ClassUtil.getFileOrResource(String)

Field Summary
 
Fields inherited from class org.ckkloverdos.source.SourceSkeleton
is, name, type, valid
 
Constructor Summary
RcSource(java.lang.String name, SourceType type)
           
RcSource(java.lang.String name, SourceTypeRegistry r)
           
 
Method Summary
 
Methods inherited from class org.ckkloverdos.source.SourceSkeleton
getDescription, getInputStream, getName, getReader, getReader, getString, getString, getType, isText, isValid, setInputStream, setName, setType, setValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RcSource

public RcSource(java.lang.String name,
                SourceTypeRegistry r)
         throws java.io.IOException
Throws:
java.io.IOException

RcSource

public RcSource(java.lang.String name,
                SourceType type)
         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.