You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Rishi Verma (JIRA)" <ji...@apache.org> on 2015/06/10 01:27:01 UTC

[jira] [Updated] (OODT-847) New FilemgrMetExtractor to extract File System Attributes

     [ https://issues.apache.org/jira/browse/OODT-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rishi Verma updated OODT-847:
-----------------------------
    Attachment: FileAttributesExtractor.java

> New FilemgrMetExtractor to extract File System Attributes
> ---------------------------------------------------------
>
>                 Key: OODT-847
>                 URL: https://issues.apache.org/jira/browse/OODT-847
>             Project: OODT
>          Issue Type: New Feature
>          Components: file manager
>    Affects Versions: 0.8.1
>            Reporter: Rishi Verma
>            Assignee: Rishi Verma
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: FileAttributesExtractor.java
>
>
> It's sometimes useful to extract File System metadata from files that people often see when browsing a file on an operating system.
> Examples:
> * POSIX permissions
> * Datetime stamps, including: lastModified, creationTime, lastAccessTime
> * Is a symbolic file?
> * Is a directory?
> * File owner
> * Is hidden file?
> etc.
> Java 7's Files.getAttributes [1] does this in a platform-generic way. We should leverage this and add an extractor for the benefit of the community.
> [1] http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)