get/set 메소드를 통해서 접근한다.
하지만 get/set 메소드를 직접 만드는 일은 필드의 수가 많으면
비효율적일 수 밖에 없다.
이클립스에서는 이를 자동화할 수 있는 기능을 제공한다.
먼저, 원하는 필드를 블럭으로 지정하고,
마우스 오른쪽 버튼을 누른다.
Source -> Generate Getters and Setters
원하는 세부 설정을 한 뒤에 OK 버튼을 누르면 끝!
소스 코드를 구했으나 코드 스타일이 마음에 안든다면 어떻게 해야할까?
가령, 괄호의 위치처럼.
역시 수작업으로 수정하고 있자니 시간이 아깝다.
그럴 땐 Format 기능을 활용한다.
이클립스에서는 다음과 같은 방법으로 할 수 있다.
소스 파일을 Ctrl + 'a'로 전체 선택하고,
마우스 오른쪽 버튼을 누른다.
Source -> Format을 선택한다.
기본적으로 제공되는 코드 스타일이 마음에 들지 않는다면,
프로젝트의 Properties 대화상자를 띄워서
Java Code Style - Formatter를 수정한다.
Web feeds allow software programs to check for updates published on a web site. To provide a web feed, a site owner may use specialized software (such as a content management system) that publishes a list (or "feed") of recent articles or content in a standardized, machine-readable format. The feed can then be downloaded by web sites that syndicate content from the feed, or by feed reader programs that allow Internet users to subscribe to feeds and view their content.
A feed contains entries, which may be headlines, full-text articles, excerpts, summaries, and/or links to content on a web site, along with various metadata.
The development of Atom was motivated by the existence of many incompatible versions of the RSS syndication format, all of which had shortcomings, and the poor interoperability, of XML-RPC-based publishing protocols. The Atom syndication format was published as an IETF "proposed standard" in RFC 4287, and the Atom Publishing Protocol was published as RFC 5023.
Large scale web syndication of content started in 2001 when Miniclip freely syndicated online, browser-based, interactive games to the masses. Today many different types of content are syndicated on the Internet. Millions of online publishers, including newspapers, commercial websites and blogs, now publish their latest news headlines, product offers or blog postings in standard format news feed.
Syndication benefits both the websites providing information and the websites displaying it. For the receiving site, content syndication is an effective way of adding greater depth and immediacy of information to its pages, making it more attractive to users. For the transmitting site, syndication drives exposure across numerous online platforms. This generates new traffic for the transmitting site — making syndication a free and easy form of advertisement.
The prevalence of web syndication is also of note to online marketers, since web surfers are becoming increasingly wary of providing personal information for marketing materials (such as signing up for a newsletter) and expect the ability to subscribe to a feed instead.
Although the format could be anything transported over HTTP, such as HTML or JavaScript, it is more commonly XML. The two main families of web syndication formats are RSS and Atom.
The term "podcast" is a portmanteau of the words "iPod" and "broadcast", the Apple iPod being the brand of portable media player for which the first podcasting scripts were developed. These scripts allow podcasts to be automatically transferred to a mobile device after they are downloaded.
Though podcasters' web sites may also offer direct download or streaming of their content, a podcast is distinguished from other digital media formats by its ability to be syndicated, subscribed to, and downloaded automatically when new content is added, using an aggregator or feed reader capable of reading feed formats such as RSS or Atom.
Reference:
http://en.wikipedia.org/wiki/Podcast
In the typical scenario of using web feeds, a content provider publishes a feed link on their site which end users can register with an aggregator program (also called a feed reader or a news reader) running on their own machines; doing this is usually as simple as dragging the link from the web browser to the aggregator. When instructed, the aggregator asks all the servers in its feed list if they have new content; if so, the aggregator either makes a note of the new content or downloads it. Aggregators can be scheduled to check for new content periodically.
The kinds of content delivered by a web feed are typically HTML (webpage content) or links to webpages and other kinds of digital media. Often when websites provide web feeds to notify users of content updates, they only include summaries in the web feed rather than the full content itself.
Web feeds are operated by many news websites, weblogs, schools, and podcasters.
Reference:
http://en.wikipedia.org/wiki/Web_feed
Reference:
http://code.google.com/android/