How do I tell if PublicOjbect is a folder?

I have a list of PublicObject, how can I tell the ones that are of type folder and the ones that represents files??
Francois.

you can get class name associated with the publicObject
for example
PublicObject pObj = ifsFileSystem.findPublicObjectByPath("/home/user1/folder")
if (pObj.getClassName().equals("FOLDER")){
System.out.println("is a folder");
if (pObj.getClassName().equals("DOCUMENT")){
System.out.println("is a document");
I hope this helps!!

Similar Messages

  • How do I tell LR about a renamed folder?

    Under Win XP, I mistyped the name of a new folder I was creating. I then copied some 5D Raw files to that folder, imported them in place, and worked on them for a while.
    Later I noticed that I had mistyped the name, so I moved and renamed the folder. Had I just moved the folder, I'd be OK. But LR appears not to like new folder names.
    Is there anyway to tell LR that c:\foo\thursday is now e:\bar\friday without losing the adjustments I've made?

    "Right click it in Lightroom and choose Locate Missing Folder."
    That appears to only work if the folder name is the same, and I've changed the folder name.
    "Next time rename it in Lightroom."
    There's the answer: I can (in XP) rename the folder in it's new place to the old LR name and then in LR Locate Missing Folder and then, still in LR, rename it to what it should have been.
    Thanks.
    (I prefer to manage my files by myself, and as a result haven't bothered to figure out how to persuade LR to do what I want with folders. So every once in a while I find some very strange directory structures. Time to RTFM.)

  • My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more.

    My macbook pro no longer connects to my TV with the mini dvi to hdmi adapter. A while ago the computer fell down and hit the cable. How can I tell if the computer is working ok. Doesn't show mirroring any more. Was working while watching a movie but when I pulled it out from the computer and put it back in the system would no longer mirrorr the screen on the TV.

    The best option is an appointment at an Apple store genius bar.  The evaluation will be for FREE!
    Ciao.

  • How do i tell if a phone is a 4 or a 5 model?

    how can i tell if a phone is a 4 or a 5 model?

    Append the last three characters of its serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    (108875)

  • I'm too old to learn iCal.  How do I tell iTunes to synch with Outlook for Mac for all of the Contacts and the Calendar on my iPhone and iPad??  Thanks

    I'm too old to learn iCal.  How do I tell iTunes to synch with Outlook for Mac for all of the Contacts and the Calendar on my iPhone and iPad?? 
    Also, once I figure out how to replace iCal with Outlook/Mac on iTunes, how do I synch the phone and pad so that the information on those devices over-writes onto Outlook as a backup, rather than having a blank Calendar on Outlook wipe out all of the information on the phone and pad???
    Thanks

    If you haven't tried already, plug your devices into iTunes, and on each device next to the "Summary" tab at the top is another tab called "Info." Click that and scroll down to Contacts, Calendars, etc. There should be a pull down bar under each category for "Sync contacts from..." and you should be able to select from that pull down list Outlook.  Hit Apply at the bottom and see if that does it.

  • ITunes library only shows music in the cloud, how do I tell it to show the library on my hard drive?  iTunes 11.0.2.26

    I don't know how this happened. 
    I opened iTunes last night and the player only lists items from the cloud, which is a small percentage of my itunes library - no podcasts, no playlists.  Somehow the iTunes players has "forgotten" that my music library is on my hard drive.
    How do I tell the iTunes player where to look for my library?  In About iTunes, the version I am running is 11.0.2.26  
    Also, how did some random songs/albums end up on the cloud when I didn't put them there?  Some of the songs were purchased through itunes but not all and not all of my purchased songs, etc. show up on the cloud.  I'm so confused.
    Thans for your help!

    See this post.
    tt2

  • My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    My ipad does not have the amount of GB on the back and in the settings it says 56gb! Also there is no setting called regulatory. It is an ipad 4 retina w wifi that i got as a Christmas present. Could it be a fake? How can i tell?

    The amount of storage that is shown on the box and in Settings are calculated differently - the package uses 1 billion bytes as a gig (i.e. decimal), whereas in Settings it's shown as the binary definition : http://support.apple.com/kb/TS2419
    Also some space has been used for iOS, the built-in app and some space is lost due to formatting.

  • How do I tell what version (update / release level) of version 6 has been applied to my system?

    Question
    How do I tell what version (update / release level) of version 6 has been applied to my system? I have applied several different release levels to version 6 of FF but all the about feature tells me is Version 6.0. no version! This seems to be a change in the way updates are handled. Is that a bending because of the speed of which you're pushing out updates and new releases?
    contact me if you need something more
    ''deleted email address''

    @cchur <br />
    Nope, I never used Chrome, but I did try Chromium on my Windows desktop PC for a few months last year. I got tired of the Google updater. exe running all the time and Google's method of doing updates, so it's gone. I do have Chromium on my Linux EeePC since last summer, but Ubuntu handles all updates and gives the user the capability to accept or deny, any or all updates - much more to my liking, similar to the way Mozilla does it. I don't like software developers forcing to update until I am ready to proceed.
    There's a lot more about this new Fast Release system, than just the lack of visible version numbers, that I don't like. The Nightly, Aurora, Beta, & Release sequence is dumb with the way it changes the version numbers. I prefer installing (for instance) what will become version 7 and have that installation progress thru the 4 stages, instead. Now it's like Nightly going from 7 to 8, Aurora going from 6 to 7, and Beta doing - hell, I won't know if it becomes a Release or if it just dies and I will have to install the Release version myself. ''Quite honestly I don't care, because I don't think this new "system" is going to last too long without major modifications. Too damn many users are so pissed off, that when Firefox starts losing large numbers of users, Chrome keeps growing and eventually passes Firefox in number of users and market share of usage - Mozilla will wake up and see the "light" and change back to the way things used to be done, to a certain extent.''
    I also dislike the UI changes in 4/5/6/7 enough that I am still using Firefox 3.6 for almost everything and Firefox 2.0.0.20 for the rest. I have been setting my toolbars up almost like Mozilla did for Firefox 4, since Firefox '''0.7''' in 2003 and I haven't come up with a workable combination of mods and extensions to configure Firefox to look and work the way I have been doing for almost 8 years now.

  • How can I tell what is "Auto Launching"

    User's (me) tech background:
    Fairly technical user here, but getting pretty rusty. In a past life (late '90s) I was a network administrator as well as server admins for NT 4, Novell (up to 4.11), AIX, and HP-UX servers. Used to be really good at a command prompt ($ or #) in AIX and HP-UX as well as MS DOS. I do have ROOT enabled on my Macs and I am not afraid to use it. However, I know how severe the consequences can be (trashed a customer's AIX server once using a -R switch in the root directory), so I am extremely cautious and must be confident of the instruction. Can probably fix most anything with some guidance........
    Here is the problem........ I have recently developed an error on boot, say within the last couple of weeks, where it tells me that some Vista application won't run because VM Ware will not initialize. The problem is VM Ware is not loaded on this computer (15" MBP model 8.2, i7 processor, 16MB of RAM, OS 10.7.4........ bought as a "refurb", never had a problem, have used this workstation for several months now). Boot Camp is not configured on this machine either. Nothing is in the Dock that would knowingly trigger this. When I go into System Information, I find nothing set as a "Startup Item" (screen shot attached) , making me think that I am looking in the wrong place. Where should I be looking?
    Interesting enough, when I go to System Information, and look under "Applications", I do see a lot of Vista items, including apps from an older MBP that I do not connect to (on same network, they have "rights" to connect, I just never do as there is nothing on there I need). I have attached a screen shot of this as well.
    Please, someone, can you give me some advice here?
    How can I tell where this auto loading of this Vista app is coming from
    How do I get rid of it
    Why did it happen "suddenly"?
    Can I go into System Info/Applications and delete any Vista or VM Ware apps?
    If I cannot do this via "System Info" can I remove (rm OR mv) the files from whichever system directory stores this data?
    This is puzzling and quite concerning. I would be deeply grateful if there is a "Yoda" out there that knows how to fix this.......
    Thanks in advance,
    Bill

        Managing your data usage is very important Bag02231958. I would like to thank ttipgem for the great suggestion to see what is using data on your phone. However, when you access the internet, social media apps, stream data, videos, music, etc. that uses data on your phone. Unfortunately, we do not have a list of what specifically is being accessed on the device to incur data. You do have the ability to view data records and time frames online via My Verizon http://bit.ly/xB4iTc
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • "Volume not found" I have 3 iphoto_libraries stored in a external disk, while the actual files are in other external disk. Ive moved together iphotolibraries and files but: HOW CAN I TELL THE LIBRARIES WHERE TO FIND THEM NOW?

    I have three iphoto_libraries stored in a external disk PASSPORT (one for each trip imovie Im making -Ive managed this way the libraries so to not confuse the trips) while the actual files are in OTHER external disk LACIE. And everything was fine: imovie find each library, could work with it, or iphoto could edit the files.
    But one day everything crashed at the same time: i opened iphoto to find 3 different scenarios:
    1) iphoto_library GREECE was there, but not the albums i prepared. no events. when double click in any of them: "Volume not found"
    2) iphoto_library ITALY was there, and the albums i prepared too, but empty.
    in both cases I can only see the photos in 'photos'  because 'events'  shows some events with photo preview and some with no preview, just some kind of preset clipart palm tree, but if i enter the event, photos are there but again: when double click in any item: "Volume not found"
    3)  iphoto_library ISRAEL was there, the albums too, when double click in any of them: all OK
    The 3 libraries was managed the same way. Meaning: Ive imported photos to iphoto from external disk LACIE in a iphotolibrary stored in another external disk PASSPORT. Also: I don't have unchecked the option "copy to file" or something like that. photos where moved, not copied. Also i have all the movie_libraries in the PASSPORT as well. What happened??
    Solution? Nothing yet. Ive moved now all the photo folders from LACIE together in PASSPORT with the iphotolibraries but problem persist:
    HOW CAN I TELL THE LIBRARIES WHERE TO LOOK FOR THE VOLUMES NOW?
    "Volumes" are the original files aren't them?
    Please help. this is so annoying to try and find in the forum, to tricky to explain
    I have a Macbook pro retina Yosemite 10.10.1 / iphoto 9.6 (910-29)/ iMovie 10.0.6
    THANK YOU
    Vicky

    The 3 libraries was managed the same way. Meaning: Ive imported photos to iphoto from external disk LACIE in a iphotolibrary stored in another external disk PASSPORT.
    This is not clear, especially when you say
    I don't have unchecked the option "copy to file" or something like that. photos where moved, not copied.
    Especially as the message you're getting is typical of a library where the ' option "copy to file" or something like that' is unchecked.
    So it's a simple question:
    Are you these Managed or Referenced Libraries?
    A Managed Library, is the default setting, and iPhoto copies files into the iPhoto Library when Importing. The files are then stored in the Library package
    A Referenced Library is when iPhoto is NOT copying the files into the iPhoto Library when importing because you made a change at iPhoto -> Preferences -> Advanced. (You unchecked the option to copy files into the Library on import) The files are then stored where ever you put them and not in the Library package. In this scenario you are responsible for the File Management.

  • How can i tell what computers are authorized with my itunes account?

    My iTunes app tells me that I have 5 computers currently authorized with my account. How can I tell which ones they are???  I've checked all of my old desktops and laptops to deauthorize them but they indicate that they were never authorized.  Confusing. Why go to the trouble managing how many are authorized if you don't provide a means to list them???  I realize that I can deauthorize them all (the only choice!) but, in doing so and reauthorizing the ones I need, does this mean that I lose the ability to access previously purchased music on them??  I must say that, for the ease of use of the Apple apps, I expected more.  Thanks:-) !

    You cannot. You can see the number of authorised machines.
    Go to itunes Store, Select Account from Quick Links on the right.
    If you already have 5 authorised but can't remember which the machines are you have the option of once every 90 days to deauthorize all comuters and then individually reauthorising the ones you want.
    On each machine in iTunes Click Store > Authorise this computer

  • How can I tell if Time Machine is backing up my external HD?

    Mac Newbie here. I just have a quick question: I have two external HD hooked up to my 2012 iMac, one holding media files (not iTunes, just miscellaneous avi and mkv type files) and the other serving as the backup drive for use with Time Machine. When I first hooked up the media external HD, the OS asked me if I wanted to use it with Time Machine. Interpreting that as a request to use it as the backup drive, I replied "no." Then when I hooked up the second external HD, I replied "yes" when asked if I wanted to use it with Time Machine.
    Since that time, Time Machine has been running smoothly, but I'm not sure if it is backing up both my internal HD and my external HD #1 used for media files. When I open Time Machine using Launchpad, it shows me a picture of Finder listing all my different hard drives, but only in the "now" timeframe. When I go back a few backups, the external HD used for media files is grayed out. Does that mean it has not been backing up my external HD files? If so, how do I tell it to include that external HD in the backup process?
    Note that I am trying to backup contents of one external HD (including my internal HD) to another - the internal HD has 1 TB, the first external HD has 2 TB, and the second external HD has 3 TB (this is the one I'm using as the backup drive). So I think I should be ok from a space standpoint.

    Open System Preferences > Time Machine > Options and see Excluded Items. If the external drive is there, it's not being backed up

  • How can you tell if a pic hasnt been tagged by iPhoto, and do you then...

    How can you tell if a pic hasnt been tagged by iPhoto, and do you then do you then have to draw "missing box" around them
    What I mean is tagged a few faces, imported some more pics, checked a few and they dont show as named faces, but are faces that are in my Faces source list (ie identified and named)
    So do I then have to draw a box around known faces to me, and name them again (I think iPhoto will pop up as Im typing the names I already have)
    It just means that even when i import and it doesnt name, I may have lots of pics that are of faces but not tagged and so not in my faces source list
    please help
    cheers
    ps when are Apple going to upload the Getting Started manuals for iLife 09? its been a while since released now, ad they give a bit more insight than the video tutorials alone

    No-one? It'll be nice to know how many pics of faces that arent yet tagged
    cheers

  • How do I tell iphoto NOT to load ALL images from camea and iphone, only new images?

    I've bee using my MacBook Pro, iphoto and Nikon for many years. I travel alot and take many pictures, and like to keep them on the memory cards as an extra backup. All was going great on a recent trip, until one day, suddenly, when I plug camera into computer, iphoto opens (as usual) but it starts downloading ALL of the old images on the memory card instead of just the ones that have not already been imported! It takes forever when you are using a 16GB card!! Is this due to some update I installed? How do I tell iphoto not to do this?! I only want to see images not yet imported, as it used to be. I am using OS X 10.6.8 and iphoto '09 - 8.1.2  And, this same thing is happening with my iphone, and my other camera.

    iPhoto does read all images (how else can it know if it has already imported them or not) and then gives your oppertunity to import new, all or selected
    Yes it does take a bit to get all images and see what needs to be imported - I use 32 GB cards - and the other issue is that if you delete impoprted photos next time you use the card the deleted ones will be in the new list so you have to select the rest and import selected - I've found no solution to this
    LN

  • How do I tell Apple to fix their software like apps that play sound even though the sound is turned off and not being able to disable features you hate like game center

    Apple is suppose to be the pinnacle of usability and, yet, I want to throw my new IPhone 4s as far as I can and watch is smash into a million pieces on concrete. Seriously, I've already got three things that irritate the **** out of me. First, there are Apple apps that insist on playing sound even though the sound is turned off. If I flick a switch to turn the sound off, I want the sound off!!!! Second, if I do not want a totally unnecessary feature like Game Center, I should be able to disable it. I completed most of the Angry Bird levels with 2 or 3 stars and now I have to start over from square one. Maybe, this happened when I upgraded to the 4s but it sure seemed to happen when I joined Game Center. Tomorrow, I am going to reset my 4s to factory defaults to try to get rid of my Game Center account. I don't want Game Center! I do need Game Center! I hate Game Center! Finally, I had an alarm go off to wake me up and there was a Snooze button but no button to turn the alarm off. I flicked the slider to access the main screen expecting to see something to turn the alarm off but there was nothing. The alarm just kept alarming. I had to warm boot my IPhone to shut the alarm off! Really, Apple!!!!

    The sound is turned off. Only, some Apple apps like YouTube and Siri make sound when the sound is turned off. It is very embarrassing when this happens at work. My question was how do I tell Apple to fix this?
    Turning off game center does not work. The games just prompt me to sign in when they are started.I have tried everything I can find online to stop this behavior. It is annoying and should not happen. My question was how do I tell Apple to fix this?
    The alarm went off. There was a green thing that looked like a button but pressing it did nothing. There was a red button that said snooze. I did not want to snooze. I wanted to turn the alarm off. I slid the bar to unlock the phone and there were no running apps with a button to press. The alarm just keep running. I have not had this problem since it first occurred. The alarm now shuts off when I just unlock the phone. It may have happened because I had another alarm app running. The two may have interfered with each other. I would like to tell Apple about it.
    It also annoys me that the button that closes apps leaves the phone app running. If I press on a number at 6:00 AM to get information about who called me, the phone automatically dials the person back and my natural reaction is to press on the button to close the phone app but the phone keeps dialing this person at 6:00 AM. It is a bad design. I would like to tell Apple about it.
    Finally, I looked all over Apple's site to try to find someplace I could send them a polite message to let them know that I was not happy with these "features" but could not find anything. It is extremely frustrating to have issues with a product and not being able to tell the manufacturer about it. So, you grow up!.
    When trying to fix the Game Center issue, I saw a link someone posted to report issues with the IPad to Apple. The answer I am looking for is where is the link to report issues with the IPhone.

Maybe you are looking for

  • NiRFSG_CheckGenerationStatus fails periodically

    Hello: I keep observing this strange effect once in a while with my 3 channel PXI-5673 system. Just to make it clear - I have yet to find a way to reproduce this problem. NI-RFSG 1.6.3. There are three generators, daisy chained. I set them to generat

  • IOS8.1 Music App won't play "Skip When Shuffling" songs at all

    iTunes has two options for skipping a song during shuffle:  the first column with the tick box (let's call this the "Play Column"), and the "Skip When Shuffling" tick box in the Options tab of the song info. For songs in iTunes where the Play Column

  • I have a HP 500 250ea and have tried to fit a IEEE 1394a fire wire.

    I want to fit a fire wire to the HP 500 250ae desk top, so I boought the card from Maplins, but when I opened the back of my computer, the connector, just one did not fit the card.

  • WLC 5508 Release 7.4.100.0 RADIUS PROBLEM

    Hi, Previously I was using 7.0.116.0 and there was no problem on Radius Authentication. Client uses secure V2 After upgrading 7.4.100.0 Radius Authentication Successfull, but Secure V2 continuously opens login page Thanks 

  • Opendoc date range into Bex query

    We are having an issue when trying to pass a date range in an Opendoc link. The report is built off a BEx query,  within the report we have an Opendoc link into a child version of the report. I can pass all the other prompts with no issue except for