- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for SmbResource (0.09 sec)
-
src/main/java/jcifs/SmbResource.java
*/ void copyTo ( SmbResource dest ) throws CIFSException; /** * Changes the name of the file this <code>SmbResource</code> represents to the name * designated by the <code>SmbResource</code> argument. * <br> * <i>Remember: <code>SmbResource</code>s are immutable and therefore * the path associated with this <code>SmbResource</code> object will not
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (1) -
src/test/java/jcifs/tests/FileLocationTest.java
} } // #41 @Test public void testGetNameServer () throws MalformedURLException, CIFSException { try ( SmbResource r = new SmbFile("smb://0.0.0.0/", getContext()); SmbResource s = r.resolve("Public/"); SmbResource p = s.resolve("MyVideo.mkv"); ) { SmbResourceLocator fl = p.getLocator(); assertEquals("0.0.0.0", fl.getServer());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 13:16:07 UTC 2020 - 23K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
CIFSContext context = getContext(); context = withTestNTLMCredentials(context); try ( SmbResource root = context.get(getTestShareURL()) ) { root.exists(); try ( SmbResource t = root.resolve(makeRandomName()) ) { try { t.createNewFile(); } finally {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
private Object shutdownLock = new Object(); private volatile boolean shutdown; private SmbResource file; /** * @param smbFile * */ public ExclusiveLockFirst ( SmbResource smbFile ) { this.file = smbFile; } public void waitForStart () throws InterruptedException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
import jcifs.SmbConstants; import jcifs.SmbResource; class ShareEnumIterator implements CloseableIterator<SmbResource> { private static final Logger log = LoggerFactory.getLogger(ShareEnumIterator.class); private final Iterator<FileEntry> delegate; private final ResourceFilter filter; private final SmbResource parent; private SmbResource next; /** * @param parent
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
import jcifs.ResourceFilter; import jcifs.SmbResource; abstract class FileEntryAdapterIterator implements CloseableIterator<SmbResource> { private static final Logger log = LoggerFactory.getLogger(FileEntryAdapterIterator.class); private final CloseableIterator<FileEntry> delegate; private final ResourceFilter filter; private final SmbResource parent; private SmbResource next; /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java
import jcifs.CloseableIterator; import jcifs.ResourceFilter; import jcifs.SmbConstants; import jcifs.SmbResource; class DirFileEntryAdapterIterator extends FileEntryAdapterIterator { /** * @param parent * @param delegate * @param filter */ public DirFileEntryAdapterIterator ( SmbResource parent, CloseableIterator<FileEntry> delegate, ResourceFilter filter ) { super(parent, delegate, filter);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
try ( SmbFile defaultShareRoot = getDefaultShareRoot(); SmbResource f = new SmbFile(defaultShareRoot, makeRandomName()); SmbResource p = new SmbFile(getTestShareGuestURL(), getContext()); SmbResource tgt = new SmbFile(p, "other-share") ) { f.createNewFile(); boolean renamed = false; try {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throws SmbException { try ( CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes, fnf == null ? null : new ResourceNameFilter() { @Override public boolean accept ( SmbResource parent, String name ) throws CIFSException { if ( ! ( parent instanceof SmbFile ) ) { return false;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0)