@Test public void testGetFileTypeDisplayNames() throws Exception { String[] names = jobFileListener.getFileTypeDisplayNames( null ); assertNotNull( names ); assertEquals( 2, names.length ); assertEquals( "Jobs", names[0] ); assertEquals( "XML", names[1] ); }
public String[] getFileTypeDisplayNames( Locale locale ) { return new String[] { "Jobs", "XML" }; }
JobFileListener implements FileListener { public String[] getFileTypeDisplayNames( Locale locale ) { return new String[] { "Jobs", "XML" }; } }
JobFileListener implements FileListener { public String[] getFileTypeDisplayNames( Locale locale ) { return new String[] { "Jobs", "XML" }; }  }
JobFileListener implements FileListener { public String[] getFileTypeDisplayNames( Locale locale ) { return new String[] { "Jobs", "XML" }; }  boolean open( Node jobNode, String fname, boolean importfile ); boolean save( EngineMetaInterface meta, String fname, boolean export ); void syncMetaName( EngineMetaInterface meta, String name ); boolean accepts( String fileName ); boolean acceptsXml( String nodeName ); String[] getFileTypeDisplayNames( Locale locale ); String[] getSupportedExtensions(); String getRootNodeName(); }
JobFileListener implements FileListener { public String[] getFileTypeDisplayNames( Locale locale ) { return new String[] { "Jobs", "XML" }; }  boolean open( Node jobNode, String fname, boolean importfile ); boolean save( EngineMetaInterface meta, String fname, boolean export ); void syncMetaName( EngineMetaInterface meta, String name ); boolean accepts( String fileName ); boolean acceptsXml( String nodeName ); String[] getFileTypeDisplayNames( Locale locale ); String[] getSupportedExtensions(); String getRootNodeName();  }