UnKnown File Compiler Error?

I keep receiving the same error from my 1.4.2 java sdk, could anyone explain this compiler error?
Thanks
WavFiles.java:17: cannot resolve symbol
symbol : method list (java.io.FileFilter)
location: class java.io.File
wavList = dir.list(filter);
^
1 error
import java.io.*;
import java.io.FileFilter;
public class WavFiles{
String[] wavList = null;
WavFiles(){
File dir = new File(".");
FilenameFilter filter = new FilenameFilter(){
public boolean accept(File file, String name){
return name.toLowerCase().endsWith(".wav");
wavList = dir.list(filter);
}

the file class doesn�t have a method called list that akes a filefilter as a parameter.
instead there are a list method that takes a filenamefilter and a listfiles method that accepts a filefilter.
http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html

Similar Messages

  • Unknown File Format Error while Uploading file through SFP in Note Implemen

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing the manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • Unknown File Format Error while Uploading file through SFP

    Hello All,
    I am implementing SAP Note 1528165 - Form 16: Layout changes for financial year 2010-11 which has few PDF forms to be uploaded.
    While doing manual steps given in the attachment; I am getting following error.
    Error occurred when uploading file (unknown file format)
    Message no. FPUIFB068
    Manual step listed in the attachment is given below:
    Step 6 u2013 Creation of PDF form HR_INTAXF162006_600
    a) Download attached file 'SFPF_HR_INTAXF162006_600.zip' on the local file system.
    b) Unzip the .zip file
    c) Execute transaction code 'SFP'.
    d) Enter 'Form' as 'HR_INTAXF162006'.
    e) Goto menu bar and select the 'Utilities' option and select 'Uploading form' from menu.
    f) Select the file, downloaded in the step u2018bu2019 (SFPF_HR_INTAXF162006_600.XML) from the local
    file system.
    g) Save the form and activate the same.
    Please help/suggest.
    Thanks in advance.
    Arti Dobariya

    Hi,
    ADS has to be configured to perform those manual steps.
    Please check the note 1580196 GTS: Error occurred when uploading file
    (unknown file format).
    The manual steps related to SFP transaction need to be performed if your are running the form 16 in pdf format.
    Since ADS was not configured in our system; we end up using  the option of running form 16 in SAP Script.
    Changes related to SFP transaction need not be perfored in case you are running the form in SAP Script format as these are pdf specific changes.
    Regards,
    Arti

  • Unknown file format error in studio mx

    Help! I am using Flash in the Studio Mx Professional suite
    and I cant open a .fla file. It tells me that its in an 'unknown
    file format'.
    But the file does open when I used my school's Flash 8
    program. Please tell me they didnt design the Series 8 programs so
    they werent backwards compatible with the Mx series!!! Im so
    agitated right now...sorry. So if there is a hotfix or any easy
    solution that wont make me scream, please post!

    PyaNo;
    You seem to be describing "forwards compatibility" rather
    than
    backwards--not many applications do that... Flashmx (version
    6) cannot open
    fla files saved from flash 8.
    Fwiw flash can "downsave" fla files one version back--flash8
    > flashmx
    2004 (7), flashmx2004 > flashmx. -Tom Unger

  • FW MX, Mac OSX: "unknown file type" error

    Hi everyone,
    I'm having troubles opening a file created in FW MX.
    When I first tried saving it, I got a message that the "file
    could not
    be found". I figured that was due to the enclosing folders
    containing
    accented characters and I saved it to the HD's root instead.
    That seemed to work fine, however when trying to open the
    file, it now
    tells me "Could not complete your request. Unknown file
    type."
    Any ideas?
    Cheers Martin

    Hello Issebek1 and welcome to the Palm forums.
    The Voice Memo application on the Treo 755p is not compatible with the Voice Memo conduit that is available for Palm Dektop on the Mac and the PC.  If you need to sync voice memos, you may need to purchase a third-party application for voice memos that can sync them back to your Mac.  I would check with MotionApps' mVoice.
    As for the duplicate calendar records, the log indicates that you are making changes to the record on the Mac and on the Palm without first performing a HotSync after changing the appointment on either side.  I would clean up the records on the Mac, and then set the Calendar conduit to Desktop overwrites Handheld and then perform a sync.  Then switch the Calendar contact back to Synchronize.
    Alan G
    Post relates to: Treo 755p (Sprint)

  • Export WAR file compilation error

    Hi,
    I have an application that compliles and deployes fine in JSC. However, if I try to export WAR file to deploy on the Weblogic server I get the error below. The error seems to be due to the fact that one of the JSPs resides in a subdirectory. Moving it to the main directory solves the problem, but this application will have many JSPs and I won't be able to keep them in the same directory. Is it a bug or I miss something?
    init:
    deps-module-jar:
    deps-ear-jar:
    deps-jar:
    library-inclusion-in-archive:
    library-inclusion-in-manifest:
    compile:
    compile-jsps:
    Building jar: E:\cartman\dist\cartman.war
    do-dist:
    extract.war:
    Expanding: E:\cartman\dist\cartman.war into E:\cartman\dist\tmp
    Deleting: E:\cartman\dist\tmp\WEB-INF\sun-web.xml
    Deleting: E:\cartman\dist\cartman.war
    Copying 1 file to E:\cartman\dist\tmp\WEB-INF
    errorhandler.modifications:
    Moving 1 files to E:\cartman\dist\tmp\WEB-INF
    Processing E:\cartman\dist\tmp\WEB-INF\web.before.errorhandler to E:\cartman\dist\tmp\WEB-INF\web.xml
    Loading stylesheet E:\cartman\nbproject\export-web-xml.xsl
    j2ee13.init:
    j2ee13.web.xml:
    Moving 1 files to E:\cartman\dist\tmp\WEB-INF
    Processing E:\cartman\dist\tmp\WEB-INF\web.before.j2ee13 to E:\cartman\dist\tmp\WEB-INF\web.xml
    Loading stylesheet E:\cartman\nbproject\j2ee13-web-xml.xsl
    j2ee13.index.jsp:
    j2ee13.jspf:
    Moving 5 files to E:\cartman\dist\tmp
    Transforming into E:\cartman\dist\tmp
    Processing E:\cartman\dist\tmp\Help.jsp.before.j2ee13 to E:\cartman\dist\tmp\Help.jsp
    Loading stylesheet E:\cartman\nbproject\j2ee13-jsp.xsl
    Processing E:\cartman\dist\tmp\Login.jsp.before.j2ee13 to E:\cartman\dist\tmp\Login.jsp
    Processing E:\cartman\dist\tmp\ThankYou.jsp.before.j2ee13 to E:\cartman\dist\tmp\ThankYou.jsp
    Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp.before.j2ee13 to E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp
    Processing E:\cartman\dist\tmp\Help.jsp.before.j2ee13 to E:\cartman\dist\tmp\Help.jsp
    Processing E:\cartman\dist\tmp\Login.jsp.before.j2ee13 to E:\cartman\dist\tmp\Login.jsp
    Processing E:\cartman\dist\tmp\ThankYou.jsp.before.j2ee13 to E:\cartman\dist\tmp\ThankYou.jsp
    Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 to E:\cartman\dist\tmp\adminReportsMain.jsp
    Failed to process E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13
    E:\cartman\nbproject\build-impl.xml:411: java.io.FileNotFoundException: E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 (The system cannot find the file specified)
    BUILD FAILED (total time: 15 seconds)The file adminReportsMain.jsp is under Web Pages/adminReports directory.
    Thanks in advance,
    Vlad

    Maybe I am not going down the right path,
    Have you opened your build-impl.xml?
    I see two different location for this file and plus the one you are saying this file is located. Is there two adminReportsMain.jsp?
    Processing E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp.before.j2ee13 to
    E:\cartman\dist\tmp\adminReports\adminReportsMain.jsp'Processing E:\cartman\dist\tmp\WelcomeUser.jsp.before.j2ee13 to E:\cartman\dist\tmp\WelcomeUser.jsp
    Processing E:\cartman\dist\tmp\adminReportsMain.jsp.before.j2ee13 to
    E:\cartman\dist\tmp\adminReportsMain.jsp

  • Fce 3.5 unknown file-export problem

    Hello!
    I have a problem with exporting my finished movie. Everytime I try to export it as a .mov file. The following erros shows up
    Unknown File
    I just have .mov files as my video files form a digital camera and .aif files as my audio files and some text. I also tried to find out which is the UNKNOWN file therefore I tried to export just the audio or just the video. It didn't work. The same error.
    Any Suggestions? I'm really confused
    Thank you
    Jens

    Your camera creates QuickTime MJPEG videos at 640x480 or 320x240 pixels at either 30 or 10 fps. FCE is a DV / HCV application that uses either NTSC or PAL video standards. That is why FCE gives you the unknown file type error message.
    Did you render your video in FCE before you tried to export it? If not, select all video clips in your timeline and do Sequence > Render All > Both, followed by Sequence > Render Only > Mixdown.
    It would be better if you can convert your MJPEG video(s) to DV-PAL before you import them into FCE (I assume that's the correct choice for Germany; the other choice would be DV-NTSC but that is the North American standard.) I believe QuickTime Pro can do the conversion.

  • Aggressive JSP and TAG file Compilation?

    I get JSP and TAG file compile errors only when I touch and save the file. Isn't there a way to get these to build automatically by the NitroX builder? I'm constantly getting Jasper compile errors at runtime and having problems when I rename/refactor code that is referenced by .tag files.
    Thanks,
    Mike

    Hi,
    Does this happen to all of your JSP files?
    Please check these settings and update the status:
    * Is your project associated with source control or present on local drive?
    * Window > Preferences > Workbench (General > workspace) - Build automatically
    * Project > Properties > Builders
    - Java Builder
    - NitroX AppXRay Builder
    Did the behavior change due to any of the recent modification/upgrade?
    What version of Eclipse & NitroX are you using?
    * Help > About NitroX > Click on Eclipse icon - Version & build id
    * Help > About NitroX > Click on NitroX icon - Version & build id
    Thanks,
    M7 Support

  • Can't Export Movie - Unknown Compile Error - Help!

    I edited a 32 minute movie in Premiere Elements 10, and now I'm trying to export it.  At some point during the export, and it seems to vary, I get an unknown compile error.  I've been trying to export the movie for the past week and all I get is failure despite trying just about everything I've found written about how to solve this.
    I have Win 7 Ultimate SP 1 running on a Lenovo desktop machine with an Intel Core 2 Quad CPU at 2.67 GHz, 4GB of RAM, 32 bit proc.
    Premiere is installed on system C drive with 6 GB of free space.
    Project and scrach disks are on D drive with 165 GB of free space.
    Media files are on 2nd E drive with 50GB of free space.
    Project and most source material is NTSC DV -- there are quite a few photos with motion, plus some iPhone HD video on the timeline, hundreds of clips in all plus narration, a few titles, etc.
    Export destination folder is on D drive.
    Everything will render to green lines atop timeline (sometimes it quits during render and I have to keep hitting Enter to continue rendering, but eventually it's all green)
    So far I've tried:
    - Reinstalling PE 10
    - Reinstalling Quicktime
    - Copying all the photos to their own separate folder
    - Editing each photo slightly (outside of PE 10) and resaving to make sure none of the photos are corrupted
    - Emptying the temp folder
    - Deleting all the renders and cache files and letting them rebuild
    - Exporting small pieces of the timeline to try to identify a bad clip -- this is a maddening process and I did find one clip that would generate the error, but I managed to export that to AVI and reimport and replace on timeline.  It would be awfully nice if PE would just TELL ME which clip it doesn't like if in fact it's a clip error.
    - Turning off the shadow / highlight feature I had on some clips, but this wasn't the issue, smaller sections with these clips exported fine
    - Tried exporting to various formats: Vimeo SD, MPEG DV Standard, iPad Standard High Quality, AVI -- all result in the same error (the format I want by the way is Vimeo SD)
    - Rebooting the machine and turning everything off that might possibly consume memory
    This machine has never had problems exporting in the past.  One thing I did try that worked -- installed PE 10 on another (less capable) Win 7 machine, and fed it all the media via an external drive.  The other machine did the export fine (though it took a while given it is underpowered).  This is nothing more than a work around though as I don't normally have access to this machine and I'm not done editing.
    I'm at my wits' end!  What else can I do to get this movie file to export?
    Appreciate any help or clues you can provide to solve this mystery.

    Oh, that is tragic!
    I never had any issues with mine. Maybe it knew how respectful I was, having come from manual rewinds and a sync block? The Moviola was a godsend, at least for me. I am glad that I got to edit film, and on many setups, as some of that translated well to digital Video. Back when I was in film school, Video was 2" tape, and the only editing was by cutting at a 45 degree angle, and splicing the tape. There was not even deck-to-deck editing, way back then. Also, Video looked like crap, at least to my eyes. We could only use a switcher, to "edit," or do a feed to air. Looked like crap!
    As for the Lexus, I can imagine all sorts of problems. My new LX-570 requires me to "Accept," when I put it into reverse, on the rear-view monitor! At least my wife's MB does not require that, but it is a 2011 model, so maybe the 2013 models will require that the user sign off on all sorts of "stuff."
    Now, I can play Finding Nemo, for my rear-seat passengers, while driving, but the front-seat passengers cannot see it, which is just fine. When driving, I am not even a fan of hands-free calls, and declined most of the streaming stock quotes, etc. for XM/Sirius radio. NOT while I am driving. I will save that for reading the WSJ in the club at the airport.
    Some years ago, our driver in London got a new BMW 7-series, and it allowed the playing of DVD's, even in the front, while driving. Not sure that I would want that, but such is life. At least his seats' ventilation system was "well-chilled," where ours' are just air. He almost froze my bum, showing off his new auto.
    Now, working with PS, or PrE in an auto, or even on a mobile device, is just not something that I can wrap my old head around. I want a fast computer, with a big display, and cannot imagine editing Images, or Video, on any handheld (or auto) device.
    Hunt

  • Compile Errors to File?

    On Windows 98 using javac, how do I get the compile errors to go to a file? javac x.java >x.txt doesn't do it. The compile errors still come out in the command window and the only ones that are important are scrolled off the top. javac x.java 2>x.txt gets a gripe from javac complaining about the unknown "2". "help" doesn't help, either.
    Thanks.
    Grant

    http://forums.java.sun.com/thread.jsp?forum=54&thread=100037
    http://forums.java.sun.com/thread.jsp?forum=17&thread=28000

  • File Error:Unknown File.

    I am getting a "File Error:Unknown file" when i try and save my project. So i am not able to save any changes i make to my project. any thoughts?

    Try FILE>Save Project As.
    does that work?
    Shane

  • "File error: unknown file" upon movie import

    Got a DVD. Extracted the footage with Mac the ripper. Created an mp4 file with Handbrake. It plays fine in Quicktime at 720 by 480 and 23.98 FPS. I've tried importing it into FCP and I get the error, "File error: unknown file". FCP sequence presents are 24 FPS...I've also tried switching it to 23.98 FPS. I've re-encoded the movie in Quicktime to a .mov file with "DV/DVCPRO - NTSC" compression and it still will not import. Any suggestions?

    Tried making an AVI in Handbrake. Handbrake just froze everytime and it would never finish.
    I should also note that FFMpeg did not like the footage either and would not convert it to a file of any kind.
    So I put the DVD into a consumer DVD player and used my Panasonic DVX100B camera to record the footage in VCR mode. The tape turned out fine.
    BUT...
    I am trying to capture the footage from another low end Canon camera. Usually there is no problem. However, with this particular footage from this cursed DVD, I get a "general error" when I try to capture the footage in FCP.
    No matter what file format or media is used, this footage will not import into FCP. It must be watermarked to not like FCP.
    Any further suggestions???

  • File Error: Unknown File when trying to render a Motion Lower third

    I'm getting this: "File Error: Unknown File" when trying to render a Lower third made in the Motion tab. I'm using FCP 6.0.6 and haven't had any issues with this before. It seems to work fine if there is just text, but as soon as I apply any effect, like a drop shadow, I get that error message.
    Thanks,
    Joe

    What's the exact format of the video you're working with and the exact specification the sequence you're editing in?

  • File Error - Unknown file when trying to import from HDD camera

    I recently purchased a Panasonic SDR-H80 and am trying to get my widescreen footage into FCP. I converted the .MOD files to .m4v files in Handbrake, and they play and look fine in the Finder. However, when I try to move them into FCP, I get a dialog that says "File Error - Unknown file." I'm not sure what I'm doing wrong here. Can anybody help?

    I converted the .MOD files to .m4v files in Handbrake .... I'm not sure what I'm doing wrong here
    What you're doing wrong is using Handbrake and trying to use .m4v files in FCP. Neither is the correct process in preparing for editing.
    Try using MPEG Streamclip and a format that actually works natively in FCP. .m4v is a final delivery format- not for editing. A search on this forum would have revealed that to you in a matter of seconds: http://discussions.apple.com/search.jspa?objID=c206&search=Go&q=handbrake
    -DH

  • File Error: Unknown File, Cannot Save

    I hope this is only a matter of healthy file management, but I'm quite confused and hope someone can clear this up into something of a simple science. On the otherhand, could this be a LIMITATION of FCP?
    -Have been editing a sequence from a larger film on a second computer. That sequence has been worked on over several days and saved (of course). However, upon saving last night, was an error message: "File error: Unknown File" and the project could not be saved.
    -This is quite possibly due to the fact that both the media and project files have been copied over the network to the first computer where the master project is being assembled.
    -HOWEVER, no media files claimed to be offline, everything was editable AND the FILE WOULD NOT SAVE through multiple attempts
    -ALSO, the other open project WOULD NOT SAVE either (its files where never moved or otherwise tampered with. It was a small and entirely local operation).
    -SAVING was finally accomplished ONLY by saving the project file to the LOCAL HD rather than the EXTERNAL DRIVE where the MEDIA and PROJECT FILES originated and had been previously saved to.
    -All other attempts to save to the EXTERNAL were met with the message "FILE ERROR: UNKNOWN FILE" This compromised saving process resulted in the loss of all work, edits, etc. on the LESSER and EXCLUSIVELY local project.
    -AFTER saving to the LOCAL HD, the project COULD BE once again saved to the EXTERNAL HD. This flow seemed very strange to me.
    -Has anyone else encountered this problem, and what can I correct in my processes to avoid this.
    --*Also, the First computer encountered the same problems at the same time, after both EDITING & SAVING had taken place since the last FILE COPYING. Again, work was lost.
    Thanks for any help you can offer.
    G5 Dual 2 GHz PowerPC   Mac OS X (10.4.5)   1.5 GB ram

    Do people search this forum at all?!?
    Check your project for CMYK files.
    Search this forum for General Error.
    This was discussed about 90 minutes ago.

Maybe you are looking for

  • Keyboard going nuts

    I posted a topic about a water spill issue a few weeks ago, and I'm telling you that this laptop gives me anxiety and depression...The keyboard must be damaged, here are some symptoms : - when i press some numbers, i hear a beeping sound, same beep w

  • How do I determine what iphoto is trying to use as the current library?

    I had an issue earlier tonight when i accidentally yanked the USB cable out of the external hard drive which held the current library while importing in to iPhoto. This, of course, made a bit of a mess, but now it seems that iPhoto is using some othe

  • DDNTF_CONV_UC~" does not exist in the ABAP Dictionary

    Hello Experts , We are migrating our ECC system from Oracle to HANA DB using DMO - during Post Processing phase we are getting the following error : (screenshot attached) 4 ETG003 Table "DDNTF_CONV_UC~" does not exist in the ABAP Dictionary 4 ETG003

  • Where on this site can i download later version of itunes?

    if anyone can give me a link it would be greatly appreciated, i think if i download a later version it might solve my problem but, i can't find it. Message was edited by: metoma

  • HT4946 I can't import my photos onto my comp. Help!!

    I have an iphone 3gs ios 3.1.3 (yes, i know it's ancient!!) it shows up on itunes but it wont show up on finder under devices or on image capture. So basically can't import my photos onto my mac.