1
1
/*
2
- * Copyright 2002-2014 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -45,8 +45,8 @@ public interface ResourceLoader {
45
45
46
46
47
47
/**
48
- * Return a Resource handle for the specified resource.
49
- * The handle should always be a reusable resource descriptor,
48
+ * Return a Resource handle for the specified resource location .
49
+ * <p> The handle should always be a reusable resource descriptor,
50
50
* allowing for multiple {@link Resource#getInputStream()} calls.
51
51
* <p><ul>
52
52
* <li>Must support fully qualified URLs, e.g. "file:C:/test.dat".
@@ -58,10 +58,10 @@ public interface ResourceLoader {
58
58
* <p>Note that a Resource handle does not imply an existing resource;
59
59
* you need to invoke {@link Resource#exists} to check for existence.
60
60
* @param location the resource location
61
- * @return a corresponding Resource handle
61
+ * @return a corresponding Resource handle (never {@code null})
62
62
* @see #CLASSPATH_URL_PREFIX
63
- * @see org.springframework.core.io. Resource#exists
64
- * @see org.springframework.core.io. Resource#getInputStream
63
+ * @see Resource#exists()
64
+ * @see Resource#getInputStream()
65
65
*/
66
66
Resource getResource (String location );
67
67
0 commit comments