You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/28 10:02:59 UTC
[jira] [Commented] (OODT-847) New FilemgrMetExtractor to extract
File System Attributes
[ https://issues.apache.org/jira/browse/OODT-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614975#comment-15614975 ]
ASF GitHub Bot commented on OODT-847:
-------------------------------------
GitHub user adhulipa opened a pull request:
https://github.com/apache/oodt/pull/42
Fix for OODT-847 contributed by adhulipa & rverma
Implemented FileAttributesExtractor which leverages the Java 7 API to
get file system attributes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adhulipa/oodt OODT-847
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/oodt/pull/42.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #42
----
commit ce690461b05da324ce1cb5d480409adec6737737
Author: Aditya Dhulipala <ad...@usc.edu>
Date: 2016-10-28T09:36:13Z
Fix for OODT-847 contributed by adhulipa & rverma
Implemented FileAttributesExtractor which leverages the Java 7 API to
get file system attributes.
----
> 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: 1.1
>
> 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)