Skip to content

Commit

Permalink
#86: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 6, 2017
1 parent 249bb28 commit 0d27ede
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/org/cactoos/io/ResourceAsInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
import org.cactoos.text.FormattedText;

/**
* Jar class resource.
* Classpath resource.
*
* <p>Pay attention that the name of resource must always be
* global, <strong>not</strong> starting with a leading slash. Thus,
* if you want to load a text file from {@code /com/example/Test.txt},
* you must provide this name: {@code "com/example/Test.txt"}.</p>
*
* @author Kirill (g4s8.public@gmail.com)
* @version $Id$
Expand Down

0 comments on commit 0d27ede

Please sign in to comment.