FileDocCategorySizeDatePackage
MediaFactory.javaAPI DocExample432Sat Mar 20 14:50:10 GMT 2004None

MediaFactory

public class MediaFactory extends Object

Fields Summary
Constructors Summary
Methods Summary
public static MediagetMedia(java.lang.String s)

		return Enum.valueOf(Media.class, s.toLowerCase());
	
public static MediagetMedia(int n)

		return Media.values()[n];
	
public static voidmain(java.lang.String[] args)

		
		System.out.println(MediaFactory.getMedia("Book"));