Go Back   StudyChaCha 2024 2025 > StudyChaCha Discussion Forum > General Topics

  #2  
Old April 28th, 2014, 06:19 PM
Super Moderator
 
Join Date: Dec 2011
Default Re: Metadata in Java – What????

Metadata is data about data in the most general sense of the term. The use of Annotations or XML in Java has always been about metadata.

Metadata is a set of descriptive, structural and administrative data about a group of computer data. Java Metadata Interface (JMI) is a platform-neutral specification that defines the creation, storage, access, lookup and exchange of metadata in the Java programming language.

Usage--
-JMI can be used to write tools in Java for manipulating UML models, which can be used in Model Driven Architecture and/or Model Driven Development.
-There are many implementations of JMI, including the Reference Implementation from Unisys, SAP NetWeaver and Sun Microsystems's open-source implementation from the NetBeans group.
-JMI is compatible with Java SE 1.3
__________________
Answered By StudyChaCha Member
Reply With Quote
  #3  
Old December 24th, 2014, 12:16 PM
Super Moderator
 
Join Date: Apr 2013
Default Re: Metadata in Java – What????

Metadata is a set of descriptive, structural and administrative data about a group of computer data.

Metadata is "data about other data."
With a file system, the data is contained in its files and directories, and the metadata tracks information about each of these objects.

File system's metadata is typically referred to as its file attributes.

Files class includes methods as:

size(Path)
Returns the size of the specified file in bytes.

isDirectory(Path, LinkOption)
Returns true if the specified Path locates a file that is a directory.

isRegularFile(Path, LinkOption...)
Returns true if the specified Path locates a file that is a regular file.

isSymbolicLink(Path)
Returns true if the specified Path locates a file that is a symbolic link.

isHidden(Path)
Returns true if the specified Path locates a file that is considered hidden by the file system.

getLastModifiedTime(Path, LinkOption...)

setLastModifiedTime(Path, FileTime)
Returns or sets the specified file's last modified time.

getOwner(Path, LinkOption...)
setOwner(Path, UserPrincipal)
Returns or sets the owner of the file.

getPosixFilePermissions(Path, LinkOption...)
setPosixFilePermissions(Path, Set)
Returns or sets a file's POSIX file permissions.

getAttribute(Path, String, LinkOption...)
setAttribute(Path, String, Object, LinkOption...)
Returns or sets the value of a file attribute
__________________
Answered By StudyChaCha Member
Reply With Quote
Reply




All times are GMT +6. The time now is 03:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8