#BlueJ class context comment0.params= comment0.target=MusicPlayer() comment0.text=\n\ Constructor\ for\ objects\ of\ class\ MusicFilePlayer\n comment1.params=filename comment1.target=void\ playSample(java.lang.String) comment1.text=\n\ Play\ a\ part\ of\ the\ given\ file.\n\ The\ method\ returns\ once\ it\ has\ finished\ playing.\n\ @param\ filename\ The\ file\ to\ be\ played.\n comment2.params=filename comment2.target=void\ startPlaying(java.lang.String) comment2.text=\n\ Start\ playing\ the\ given\ audio\ file.\n\ The\ method\ returns\ once\ the\ playing\ has\ been\ started.\n\ @param\ filename\ The\ file\ to\ be\ played.\n comment3.params= comment3.target=void\ run() comment4.params= comment4.target=void\ stop() comment5.params=filename comment5.target=void\ setupPlayer(java.lang.String) comment5.text=\n\ Set\ up\ the\ player\ ready\ to\ play\ the\ given\ file.\n\ @param\ filename\ The\ name\ of\ the\ file\ to\ play.\n comment6.params=filename comment6.target=java.io.InputStream\ getInputStream(java.lang.String) comment6.text=\n\ Return\ an\ InputStream\ for\ the\ given\ file.\n\ @param\ filename\ The\ file\ to\ be\ opened.\n\ @throws\ IOException\ If\ the\ file\ cannot\ be\ opened.\n\ @return\ An\ input\ stream\ for\ the\ file.\n comment7.params= comment7.target=javazoom.jl.player.AudioDevice\ createAudioDevice() comment7.text=\n\ Create\ an\ audio\ device.\n\ @throws\ JavaLayerException\ if\ the\ device\ cannot\ be\ created.\n\ @return\ An\ audio\ device.\n comment8.params= comment8.target=void\ killPlayer() comment8.text=\n\ Terminate\ the\ player,\ if\ there\ is\ one.\n comment9.params=filename comment9.target=void\ reportProblem(java.lang.String) comment9.text=\n\ Report\ a\ problem\ playing\ the\ given\ file.\n\ @param\ filename\ The\ file\ being\ played.\n numComments=10