- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for SmbFile (0.38 sec)
-
src/main/java/jcifs/smb/SmbFile.java
* resources are files and directories however an <code>SmbFile</code> * may also refer to servers and workgroups. If the resource is a file or * directory the methods of <code>SmbFile</code> follow the behavior of * the well known {@link java.io.File} class. One fundamental difference * is the usage of a URL scheme [1] to specify the target file or * directory. SmbFile URLs have the following syntax: * * <blockquote> *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
/** * Changes the name of the file this <code>SmbFile</code> represents to the name * designated by the <code>SmbFile</code> argument. * <p/> * <i>Remember: <code>SmbFile</code>s are immutible and therefore * the path associated with this <code>SmbFile</code> object will not * change). To access the renamed file it is necessary to construct a * new <tt>SmbFile</tt></i>. *
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
* * @param file An <code>SmbFile</code> representing the file to write to * @param append Append to the end of file */ public SmbFileOutputStream( SmbFile file, boolean append ) throws SmbException, MalformedURLException, UnknownHostException { this( file, append, append ? SmbFile.O_CREAT | SmbFile.O_WRONLY | SmbFile.O_APPEND : SmbFile.O_CREAT | SmbFile.O_WRONLY | SmbFile.O_TRUNC );
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* an SMB server represented by the {@link jcifs.smb.SmbFile} parameter. See * {@link jcifs.smb.SmbFile} for a detailed description and examples of * the smb URL syntax. * * @param file * An <code>SmbFile</code> specifying the file to write to * @throws SmbException */ public SmbFileOutputStream ( SmbFile file ) throws SmbException { this(file, false); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
@Test public void testMoveFile () throws CIFSException, MalformedURLException, UnknownHostException { try ( SmbFile defaultShareRoot = getDefaultShareRoot(); SmbFile d = createTestDirectory(); SmbResource f = new SmbFile(defaultShareRoot, makeRandomName()); SmbFile f2 = new SmbFile(d, makeRandomName()) ) { f.createNewFile(); boolean renamed = false; try {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileLocationTest.java
public void testRelativeWhitespaceStart () throws Exception { try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext()); SmbResource c = new SmbFile(r, " test") ) { assertEquals(' ', c.getName().charAt(0)); assertEquals(" test", c.getName()); try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) { assertEquals(" test", t.getName());
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Wed Jan 08 13:16:07 GMT 2020 - 23K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
* represents is a server. */ static final int TYPE_SERVER = 0x04; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt> * represents is a share. */ static final int TYPE_SHARE = 0x08; /** * Returned by {@link jcifs.SmbResource#getType()} if the resource this <tt>SmbFile</tt>
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException { try ( SmbFile d = createTestDirectory() ) { try { for ( String name : names ) { try ( SmbResource tf = new SmbFile(d, name) ) { tf.createNewFile(); } }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
try ( SmbFile f = createTestDirectory() ) { try ( SmbFile a = new SmbFile(f, "a.txt"); SmbFile b = new SmbFile(f, "b.txt"); SmbFile c = new SmbFile(f, "c.bar") ) { a.createNewFile(); b.createNewFile(); c.createNewFile(); SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", -1));
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceLocator.java
* <code>SmbFile</code> references a workgroup, the name of the workgroup * is returned. If this <code>SmbFile</code> refers to the root of this * SMB network hierarchy, <code>null</code> is returned. * * @return The server or workgroup name or <code>null</code> if this * <code>SmbFile</code> refers to the root <code>smb://</code> resource. */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5.6K bytes - Viewed (0)