<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding if Metadata is for file or folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167608#M6093</link>
    <description>&lt;P&gt;Thanks for the quick response!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Sep 2016 04:54:26 GMT</pubDate>
    <dc:creator>Eric J.12</dc:creator>
    <dc:date>2016-09-23T04:54:26Z</dc:date>
    <item>
      <title>Finding if Metadata is for file or folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167606#M6091</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am migrating to API v2 and I am using the Java SDK 2.1.1&lt;/P&gt;
&lt;P&gt;In v1, there was a way to check if a metadata represented a file or folder. I can't find a method in v2 to get this information. Do you think this could be added? Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:29:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167606#M6091</guid>
      <dc:creator>Eric J.12</dc:creator>
      <dc:date>2019-05-29T09:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if Metadata is for file or folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167607#M6092</link>
      <description>&lt;P&gt;Hi Eric, you can use instanceof to determine if a given Metadata is an instance of FileMetadata, FolderMetadata, or DeletedMetadata and then cast it accordingly, e.g., as shown here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/3cfa878e5d73f06ed4782c8833b229838fd21472/examples/android/src/main/java/com/dropbox/core/examples/android/FilesAdapter.java#L82" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/3cfa878e5d73f06ed4782c8833b229838fd21472/examples/android/src/main/java/com/dropbox/core/examples/android/FilesAdapter.java#L82&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 04:51:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167607#M6092</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-09-23T04:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Finding if Metadata is for file or folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167608#M6093</link>
      <description>&lt;P&gt;Thanks for the quick response!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 04:54:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Finding-if-Metadata-is-for-file-or-folder/m-p/167608#M6093</guid>
      <dc:creator>Eric J.12</dc:creator>
      <dc:date>2016-09-23T04:54:26Z</dc:date>
    </item>
  </channel>
</rss>

