public class EntryBeans extends Object
Constructor and Description |
---|
EntryBeans() |
Modifier and Type | Method and Description |
---|---|
static EntryBean |
createBean(Entry ent)
Create a bean of the appropriate type for the given Entry
object, and link it to the object for immediate manipulation.
|
static Class |
getBeanClass(Class c)
Return the class of JavaBeans component that corresponds to a particular
Entry class.
|
public static EntryBean createBean(Entry ent) throws ClassNotFoundException, IOException
ent
- the Entry for which to create and link a beanClassNotFoundException
- no bean class of the
appropriate type could be foundClassCastException
- the bean class does not implement
the EntryBean interfaceIOException
- the JavaBeans component could not be instantiatedpublic static Class getBeanClass(Class c) throws ClassNotFoundException
c
- the class for which a JavaBeans component should be foundClassNotFoundException
- no such class could be foundClassCastException
- the class does not implement
the EntryBean interfaceEntryBean
Copyright © 2016–2018. All rights reserved.